View Single Post
  #2   Spotlight this post!  
Unread 02-02-2012, 14:40
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: Issues connecting cRIO 2 with Camera

Be sure you are calling AxisCamera::GetInstance each time you go through the function it's used in (as apposed to getting the pointer to it and saving it in a attribute during init), because the CRIO boots faster than the camera, and (I believe) you need to call the get instance after the camera is booted (green lights).

Also, be sure to keep an eye on the little reset button on the back of the camera, if it's depressed during boot, it will wipe your configuration and IP settings. So it's a good idea to call camera.WriteBrightnessLevel(##) for whatever you want your values to be, and mount it solidly so it doesn't get pressed and reset your IP.
Reply With Quote