![]() |
camera returning error when getting instance
I am using
Code:
AxisCamera.get instance("10.2.28.11") |
Re: camera returning error when getting instance
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. |
Re: camera returning error when getting instance
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?
|
Re: camera returning error when getting instance
Sorry i had to type on a tablet the code i used was
Code:
AxisCamera.getInstance();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 |
Re: camera returning error when getting instance
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. |
Re: camera returning error when getting instance
Quote:
|
Re: camera returning error when getting instance
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
|
Re: camera returning error when getting instance
Quote:
|
| All times are GMT -5. The time now is 22:22. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi