Log in

View Full Version : Error while deploying Vision-Assistant-made script.


Itamar
14-02-2010, 16:01
I made a script using the Vision-Assistant, added the VI to my project and used it in "vision.vi", giving it the image taken from the camera.
While deploying the code to the robot, this error keeps appearing:

Deploying NI_Vision_Development_Module.lvlib:IMAQ Advanced Setup Match Geometric Pattern 2

Failed to download NI_Vision_Development_Module.lvlib:IMAQ Advanced Setup Match Geometric Pattern 2

LabVIEW: Failed to load shared library nivision.*:LV_AdvancedSetupMatchGeometricPattern_v 2:C on RT target device


How can I fix this?

Thank you,
Itamar.

Greg McKaskle
15-02-2010, 08:56
It looks like your script references a library file named -- IMAQ Advanced Setup Match Geometric Pattern 2. I don't know the details, but this may not be included in the FRC vision, or there may be an issue with optimization or something. First open the VI that was scripted directly. Is it broken? Does the lower left window indicate it is to be run on the cRIO?

Does the code run if you click the run arrow on Robot Main, but fail when you deploy?

Greg McKaskle