Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Troubles when creating LabVIEW VI from Vision Assistant

People help!
 
I have a script which is working in Vision Assistant. When I try to creat LabVIEW VI from this script everything seems going fine but the calibration in LabVIEW doest work.
For calibration in Vision Assistant I have used a grid with dots (to translate the pixel values to real). In LabVIEW for calibration the same file as Vision Assistant is used but it seems that the calibration information is not used because all values stays in pixels.
I used 8.0 versions of both Assistant and LabVIEW and tyed with 8.2 of LABVIEW but nothing helps.
 
Have you meet the same problems let me know,
 
Aleks. 
0 Kudos
Message 1 of 4
(3,551 Views)
Hi Aleks,
 
I can have a look at this issue if you attach the script and an image.
 
Christophe
NI Vision R&D
0 Kudos
Message 2 of 4
(3,538 Views)
Hi Christophe,
I attached the image, calibration image and Vision Assistant script.
Regards,
Aleks.
Download All
0 Kudos
Message 3 of 4
(3,531 Views)
Aleks,
 
The code generated calibrates the image correctly, but the Vision VIs do not automatically return the calibrated points. You need to add the VIs to convert the pixels coordinates returns by the edge detection VIs to real world coordinates. You need to insert IMAQ Convert Pixel to Real World to get the calibrated values. We'll make a note of that and will try to address it in a future version.
I modified the VI that I generated from your script to add the conversion VIs.
 
Hope this helps.
 
Best Regards,
 
-Christophe
 
0 Kudos
Message 4 of 4
(3,506 Views)