Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

CVS NI1454

I Have a CVS NI1454 that takes pics of a product and evalautes if pieces pass or fail those pictures are sent to a server for further analysis.
I do need to display the text PASS or FAIL on every single pic with the same VI that I am using and I want to storage the pic into the server along with its status PASS or FAIL as an image.
I already used the VI IMAQ OVERLAY TEXT it displays the status over the pic but it is not able to storage it into the server.
I also tried the VI IMAQ Draw text and I could not load this VI into my CVS.

Can you give me some tips in order to do this?
0 Kudos
Message 1 of 3
(3,341 Views)
I would suggest two ways of storing overlays in the image file:

1- Make the overlay part of the image content using IMAQ Merge Overlay and then use the regular IMAQ WriteFile to save the flattened image. This will allow you to write BMP, TIFF, JPEG or PNG files.

2- Use IMAQ Write Image and Vision Info to save the image as well as the overlay information to file. When you use this VI, the overlay information is saved in a separate chunk of the PNG file. You need to use IMAQ Read Image and Vision Info to read the image as well as the overlay back from the file.

Hope this will help,
Nicolas
0 Kudos
Message 2 of 3
(3,333 Views)
Don't you have VBAI with your CVS 1454?  You should utilize the "Display Image" step under Inspection Steps: Use Additional Tools tab.  From there you can do a Boolean of the step(s) or entire inspection.  Just enter the size of the box, color, and type in the desired text (default is True, False).
0 Kudos
Message 3 of 3
(3,268 Views)