|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
camera returning error when getting instance
I am using
Code:
AxisCamera.get instance("10.2.28.11")
And I'm getting a long error containing error connecting to camera
|
|
#2
|
||||
|
||||
|
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. |
|
#3
|
||||
|
||||
|
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?
|
|
#4
|
|||
|
|||
|
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 Last edited by ProgrammerMatt : 14-01-2012 at 22:46. Reason: Edit |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
Re: camera returning error when getting instance
Alright thanks,
|
|
#7
|
|||
|
|||
|
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
|
|
#8
|
||||
|
||||
|
Re: camera returning error when getting instance
FRC/FRC should be used by default.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|