I am using
AxisCamera.get instance("10.2.28.11")
And I'm getting a long error containing error connecting to camera
I am using
AxisCamera.get instance("10.2.28.11")
And I'm getting a long error containing error connecting to camera
Is that the exact line that you’re using? If so, getInstance should be a camelcase single word, and there should be something at the end - further instructions or a semicolon.
Have you run the Axis Camera setup utility? If the camera has been connected to the cRIO, you must use the utility before connecting it to the bridge. Also, it may be a problem if the camera is connected to the bridge via a crossover cable, though I am not sure. I definitely know that a cat5 (Ethernet) cable works.
I’ve been using a crossover successfuly. If that is the actual code, I am sure the code is erroring, not the camera, since the code won’t be loaded. Could you copy and paste the exact error here?
Sorry i had to type on a tablet the code i used was
AxisCamera.getInstance();
And i did not set it up with the utility i just set its ip address to 10.xx.xx.11
Does the utility give it a special username and password for the cRIO to connect to? if so ill have to try using it its kinda weird and hasent worked for me yet.
EDIT:
Ah, i looked in the documentation and i was right… it does set up a user and pass for the Crio… ok Thanks anyway
add the Username and Password combo FRC/FRC
set it up manually, many have reported issues with the tool that were confirmed by Greg McKaskle from NI.
Alright thanks,
I’m a java programmer trying to get the camera we got last year working, and I am not getting a image. I am using getInstance(XXX);, but I don’t have any idea where I put the username/password combo? Is it in the code, and what do I write? Thanks
FRC/FRC should be used by default.