View Single Post
  #10   Spotlight this post!  
Unread 07-02-2012, 09:34
AndyB871 AndyB871 is offline
Registered User
FRC #0871
 
Join Date: Jan 2012
Location: East Islip
Posts: 37
AndyB871 has a spectacular aura aboutAndyB871 has a spectacular aura aboutAndyB871 has a spectacular aura about
Re: Saving Photo to Computer from Camera

I'm making some basic assumptions here:
1) You're using the Axis camera
2) you're using the 8 port cRIO
3) You want to get the image from the axis to the PC to do your processing.

When we first started we were having major issues with getting images from the camera, through the cRIO to the PC. It turned out that in vision_processing.vi there is a little brick that kicks off "Mjpeg loop". That VI is responsible for retrieving and queuing images from the camera locally on the cRIO. That's all well and good, but since the cRIO is in between the camera and the PC you need to actively transmit the camera data to the PC. In the WPI library somewhere ( I'm at work, and i cant remember the path in the little icon book thingie) There's a loop called "Send2PC" You need to kick that loop off in parallel with Mjpeg loop in order to have the robot send the images to the PC.

Now, If any of my assumptions are wrong, then I feel rather silly for explaining so much lol. I Hope this is helpful.

-Andy