View Single Post
  #1   Spotlight this post!  
Unread 19-12-2008, 22:46
CrazyCarl461's Avatar
CrazyCarl461 CrazyCarl461 is offline
Power User
AKA: Carl Agnew
FRC #0461 (Westside Boiler Invasion)
Team Role: Coach
 
Join Date: May 2003
Rookie Year: 2001
Location: West Lafayette, IN
Posts: 189
CrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant futureCrazyCarl461 has a brilliant future
Send a message via AIM to CrazyCarl461
Axis camera without the cRIO

Does anyone know if it is possible to access the Axis camera inside LabVIEW VIs while the camera is plugged directly into the computer instead of going through the cRIO? When I use the Axis camera VIs in the WPI Library and wire all of the parts (Open, Start, IMAQ Create, Get Image, Stop, Close) to an image display on the front panel, I get a bunch of error dialogs come up. The funny thing is the image display does update successfully, so I know it is at least theoretically possible. The errors look something like this:

Code:
Error 1 occurred at Release Notifier in Camera.lvlib:Acquire Image.vi:3

Possible reason(s):

LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
I am developing code in the Vision Assistant and want to create VIs as per the Image Processing tutorial to test them (as the Vision Assistant does not allow continuously-updating images from the camera). The NI/WPI folks may have disabled direct access to the camera to keep people from abusing their FRC LabVIEW licenses, but I think it would be really useful to test vision code without a cRIO around. Anyone been able to do this?
__________________
My 2011 Build Season Blog
Resistance may be futile, but capacitance has potential!
© All content is protected by the honor system
Reply With Quote