Error while deploying Vision-Assistant-made script.

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_v2:C on RT target device

How can I fix this?

Thank you,
Itamar.

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