|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Connecting Axis camera to cRIO
We've been having problems getting video data from the Axis camera. Weve set the user and password to FRC, connected with the crossover cable, and tried setting the IP on the camera to both dynamic and static 192.168.0.90, but to no avail. We loaded the DashboardDemo program from Windriver to the cRIO and launched a dashboard from LabView, and all we get on dashboard is the field state and battery voltage.
|
|
#2
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
I'm in pretty much the same predicament as you. So far, we can only get the camera working when its directly plugged into the PC via direct crossover connection (in both NI Vision Assistant and live camera setup). Whenever we plug into the cRIO, the camera isn't recognized by the VA (we get a "Check IP/Cable" error message).
Aside from that, does anyone know how to program the camera to track certain colors or geometric shapes? We're using WindRiver to program using C++ and I can't find a program that will allow us to easily configure the colors and the shapes of the "blobs" we want to track. So I guess simply put, my question is... What program do we use to configure the camera and how will I be able to implement it into my source code? |
|
#3
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
Did you try reseting the camera to factory defaults? Try that out, and when asked for a username and password use root/pass.
|
|
#4
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
The camera was reset to defaults today, with the 2 accounts and passwords on it being root/admin and FRC/FRC respectively, does it need the root password to be "pass"?
|
|
#5
|
||||
|
||||
|
Re: Connecting Axis camera to cRIO
You should hook it to your computer and run Setup Axis Camera. It'll prepare it for you to hook to your cRIO. Past that, I'm really not sure. We use LabVIEW though. We were able to put it on the same subnet as the laptop and then run that utility, plug it into the cRIO and it worked nicely.
|
|
#6
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
I can run the Setup Axis Camera when the camera is directly connected to the computer. It just doesn't like to play nice with the cRIO when connected... I can't get anything to work when it's plugged into the second ethernet port on the cRIO.
|
|
#7
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
Weve also successfully run the Setup Axis Camera utility, but it still wont work with the cRIO. Im not sure, but I think the only thing that utility does is to add the FRC username to the camera.
|
|
#8
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
Really? We had to do that ourselves to get the program running. We're still not sure how it "sets-up" the camera in the first place...
|
|
#9
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
The Camera setup utility uses the http requests on the camera to automate adding an account that the rest of the library can then use.
Creating an account by hand name:FRC and password:FRC would be equivalent. Without this, the first time you connect to the camera via web server, it will prompt to set the root accounts password, and since most will type in something different to the single account on the camera, the robot SW would then need to know your password, know how to encrypt, etc. The FRC, FRC should allow your code to access the camera. To see if the camera is working, I'd start with the single color vision example, but modify it to print the size of the particle, then widen the hue and saturation and luminance pretty far out if you need to. If you are getting something other than zero, the camera is working. Greg McKaskle |
|
#10
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
Right now though... We can't even configure the camera to play with the cRIO. Everytime we connect it, we can never establish any connection via NI Vision Assistant or any other programs to get live feed data from the camera. As for the creating the account, we've already set the camera to have an account called FRC with a password of FRC so I think we've been able to pass that... As for the Camera Setup Utility, we've successfully ran that too when the camera is directly connected to the computer via Xover cable.
The problem for us though is that the camera isn't accessible when it's connected to the cRIO. Any ideas on how I can configure the camera or my PC so I can get data from the camera? By the way... As a side question... I'm using WindRiver... Am I still using NI Vision Assistant to configure the camera to track colors/shapes/etc. or is there another program that is going to manage that? Right now... These two problems are giving me a major migrain... |
|
#11
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
kyungjin:
I am using the VisionDemo that came with the example code for WindRiver and it tracks a red object (Santa Hat ) without any trouble.Try using that and see if it works for you. All you need to do is create a new project from example code. There is an enum with several colors and luminance values predefined in one of the headers. Going through the example code should tell you what you need to know. laultima: It (the demo) is not sending actual video frames anywhere, just analyzing them, but this would tell you if the firmware recognizes and controls the camera properly. hth good luck! Jim |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Axis camera without the cRIO | CrazyCarl461 | NI LabVIEW | 12 | 17-01-2009 10:53 |
| Connecting Power Distribution block to cRio | Paul Rodi | Electrical | 2 | 05-01-2009 18:20 |
| AXIS Camera | nickmagus | Programming | 1 | 03-01-2009 20:06 |
| Program Axis Camera in c++ | excel2474 | Programming | 5 | 22-12-2008 17:14 |
| axis camera - problem | s0crates | FRC Control System | 11 | 16-12-2008 09:34 |