|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#16
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
You can't ping "through" the cRIO. The only way to obtain images when it's connected to the cRIO is by having the cRIO redirect the data. I don't believe that you'll be able to open a web browser and "see" the camera. Check out the default Basic Robot Main VI and the Dashboard app to see how they do it. The Dashboard displays camera images for you (although this port will be disabled, I believe, during competition).
Russ |
|
#17
|
||||
|
||||
|
Re: Connecting Axis camera to cRIO
I am having the same issue as Jill. The camera works when connected to everything but port 2 on the cRIO. Our team captain talked to a network guru who told him that it will not work because of a subnet error. All the devices besides port 2 on the cRIO have an IP of 10.xx.yy.zz (xxyy is based on the team number, zz is decided by what device it is) Port 2 on the cRIO however, is 192.168.0.3. I'm not sure if this is correct but he said when a subnet mask is set to 255.255.255.0 it means ignore the first three sets on numbers because they are the same. However the first three numbers of port 2 on the cRIO are not the same. I believe this is what's causing the problem. Is there a way to change the IP adress on port 2 of the cRIO. The documentation says there is but doesn't specify exactly how. Do any of you have it working with 192.168.0.3? Did you configure it that way or is that the default? I am out of ideas.
|
|
#18
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
I did get it to work... thanks Russ Beavis!
Kory- can you get to the camera to work when it's plugged directly into your computer? If it's all set up properly, when you plug it into port 2 on the cRIO, the cRIO "redirects" the feed. Run an example tracking program on LabView and see if that works. You cannot go directly to the camera with a browser. EDIT: New issue... I can get a live feed in LabView, but it's red and black, and pixelated. I'm using the LV color-tracking example. I can see vague outlines of my hand when I wave in front of the camera. It's not a focus problem- it's clear when it's plugged directly into the computer. I've tried adjusting the color settings, but it's not any clearer, and it's still only red. Are there other settings somewhere that I haven't configured properly? Last edited by Jill : 19-01-2009 at 22:52. |
|
#19
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
What you describe sounds like the Find Color example's display. The image being displayed isn't what is sent back from the camera, but has been thresholded to only show a mask of certain colors. To see the unaltered image, you can flip to the example's diagram and probe using a right click menu on the purple wire between Get Image and Find Color.
Or you can move forward with the example. Hold something colored near the camera. Choose the Red, Green, or Blue hint, and hit the calibrate button. You can also play with the color space by going to the knob and slider pane or to the HSL numbers pane. That is about it for that example. The gimbal/servo one is probably the next to go to once the color numbers make sense. Greg McKaskle |
|
#20
|
||||
|
||||
|
Re: Connecting Axis camera to cRIO
Our camera was working for the last two weeks on port 2 of the cRIO. We tried working with it this morning and LabVIEW would not find the camera. The AXIS software will not bring up the camera when plugged into the cRIO port 2 either. We can plug the camera directly into the router and find it. Does anyone have a quick fix for the cRIO?
|
|
#21
|
|||
|
|||
|
Re: Connecting Axis camera to cRIO
Just a guess, but if you disconnected and are no longer using the orange crossover cable, it would work with a PC, due to auto sensing, but not with the cRIO.
Greg McKaskle |
![]() |
| 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 |