LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to save an image in a file

I have a program which acquires images and process them. How to save the image which is specified instead of saving all the images. I cannot give a timer option because the input images of interest does occur at the same time interval. I want to give a stop button and when it is pressed then only my image should be saved other wise it should not be saved.

How to program it.

0 Kudos
Message 1 of 5
(2,415 Views)

LV2011 version pls Smiley Tongue

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 5
(2,393 Views)
0 Kudos
Message 3 of 5
(2,382 Views)

You could just move your save code to after the while loop, but before you dispose the image.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 5
(2,370 Views)

I tried to bring the imaq write file 2 outside the loop but still the program saves every image. when it is stopped it shows error imaq write file -not an image.

0 Kudos
Message 5 of 5
(2,364 Views)