Log in

View Full Version : Error on deploy with a vision library


timbuktoo
12-11-2013, 21:29
earlier today a teammate and I were working on vision code so that we would be ready when build season comes around. we followed the tutorial (https://decibel.ni.com/content/docs/DOC-26318) from NI on using their vision assistant. We were able to use the vision assistant to make the script as described in the tutorial, and to use the assistant to build a new VI. We placed the VI in the stock VisionProcessing.vi but I forgot to screen shot it, but we only connected the Camera in and the locations of each cap to a front panel indicator.

upon deploying we got this error in the deploy window:
http://i997.photobucket.com/albums/af99/jomeyering/NI_Vision_Development_ModulelvlibIMAQGetCalibratio ninfoloadedwitherrors_zpsc5d05473.png
the bold face error reads like this if anyone is having difficulties with the picture:NI_Vision_Development_Module.lvlib:IMAQ Get Calibration Info loaded with errors on the target and was closed.rrect function name.

Has anyone here seen this before, and what have they done about this.

Also having come home and reviewed further the tutorial I found of page 11 &12, that one of the sub-VI's in the VI made by the assistant may need to interface with other calibrations, and that it can be removed and bypassed. Until I can get my hands back on the code and robot on Thursday, any help or advice is appreciated

Greg McKaskle
13-11-2013, 19:52
Is this on an 8-slot cRIO?

After a couple years, we found that we were running out of memory on the cRIO. We left out a few other libraries entirely, and asked vision to make a version with things like calibration removed.

What form of calibration are you using?

Greg McKaskle

timbuktoo
15-11-2013, 00:05
yes, its an 8-slot cRIO. As far as I know we are not using any calibration at the moment, but I don't know much about the vision code.

Greg McKaskle
15-11-2013, 11:04
The function it is failing to load into memory is listed as Get Calibration Info. I suspect that you can search the VIs for that string and find the function that the Vision Asst included for you.

If you don't find it, upload your .scr file, they are tiny, and it should be easy to spot.

Greg McKaskle.

timbuktoo
15-11-2013, 16:15
thanks for the advice, I'll look into it if I get a chance, because we have now switched priorities and are trying to get a new robot ready for a school pep-rally.

many thanks

Greg McKaskle
16-11-2013, 07:38
Understood. Well, if/when you get back to it, look for and try to avoid a few calibration routines and it should work. The code you have should work on a PC or on a 4-slot. And if you post the script we can discuss ways to optimize the code for the 8-slot.

Greg McKaskle