LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save image using case structure

Hi,

I want my program to save the image displayed on the "Processed image" in a  specified location when I press the boolean button. It is showing an error when executing. How to fix that?

0 Kudos
Message 1 of 2
(2,199 Views)

well in you subvi you destroy the image buffer (with the IMAQ dispose) so when the main VI tries to save the image to file it fails to do so because the image data doesn't exist anymore. you need to remove the image dispose VI of the image you want to save and place it in the main VI after the save to file.

 

hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 2
(2,188 Views)