Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Trying to use two Axis M1011 cameras in Java (http://www.chiefdelphi.com/forums/showthread.php?t=113057)

stephenredd 08-02-2013 17:18

Trying to use two Axis M1011 cameras in Java
 
We're trying to set the settings of two Axis Cameras. We're having difficulty assigning different settings to the two separate cameras. We can set them separately using the code and can set it through the browser, but we'd like to do both through the code. When setting both cameras, the second camera's settings seem to be set to both.

This is the code we're using:

Code:

public Targeter() {       
        setUpDiscCamera();
       
        targetingCamera = AxisCamera.getInstance("10.35.28.11");
        targetingCamera.writeBrightness(50);
        targetingCamera.writeCompression(50);
        targetingCamera.writeColorLevel(100);
    }
       
    private void setUpDiscCamera() {
        AxisCamera discCamera = AxisCamera.getInstance("10.35.28.12");
        discCamera.writeCompression(50);
        discCamera.writeColorLevel(0);
        discCamera.writeBrightness(50);
        discCamera = null;
    }

Any ideas on how we can fix this? At this point, we're not sure how to work around this besides setting through the browser and leaving it in the code. Thank you for any suggestions!


All times are GMT -5. The time now is 09:51.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi