Go to Post I propose, these forums are not a competition. There is no race to prove a point, to prove you are right, to prove you are wrong. - rees2001 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 08-02-2013, 17:18
stephenredd stephenredd is offline
Stephen Reddekopp
FRC #3528 (Team Up Next!)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Kansas City
Posts: 1
stephenredd is an unknown quantity at this point
Talking 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!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:27.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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