ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Camera image as local variable

Solved!
Go to solution

Hey,

 

I am looking to use the same image out reference for each of my camera inspections. I take an image at the start of my test i call this camera image1, later on i perform numerous test inspections, however, my camera1 image is blank for the first 5 steps but displays an image for 3 steps then gives a blank image at the end again. I created a local variable of the image out reference. Any suggestions helpful. Thank you.

 

Damien

0 Kudos
Message 1 of 3
(3,510 Views)

Hi Damien129, 

 

Are you able to upload your VI here for me to take a look at. 

 

Something to bare in mind is that the value from image out is not an image. The value is a refernce to the temporary memory location where that image is stored. 

 

Kind Regards

Kevin R
Applications Engineer
National Instruments UK&Ireland
Message 2 of 3
(3,499 Views)
Solution
Accepted by topic author Damien129

Hey,

 

Thanks for the interest i solved the problem, reson why the image would not appear at the output of my vision assistant express vi was because i never restored the original image.Thanks again.

 

Damien

0 Kudos
Message 3 of 3
(3,488 Views)