LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Grab and Basic Attribute for saving TIFF files

Solved!
Go to solution

In IMAQdx examples, there's a Grab and Basic Attibute example.  There are some programs showing how to save the acquired images to AVI files.  Is there a way to save the image into a series of numbered TIFF files into one folder, either at the fasted fps or the specified fps, like the setting available on AVI vi?  Thank you very much! 

0 Kudos
Message 1 of 3
(2,828 Views)
Solution
Accepted by topic author soljiang

Hi soljiang,

 

The image attached below uses the IMAQ Write File 2.vi to save each frame as a TIFF file. This modification is made in the second frame of the stacked sequence structure. A generic file name and location is combined with the 'buffer number' to create a unique filename for each frame. A Decimal Number to String function converts the 'buffer number' to a string, which is then combined with the general file location using Concatenate String function. This string is converted to a filename using a Build Path function and the path is fed to the IMAQ Write File 2 VI along with that frame's image.

 

TiffModification.PNG

 

Please let me know if anything is confusing about this modification of the example VI.

Matt
NI Community Team
National Instruments
Message 2 of 3
(2,804 Views)

Thank you very much!!!

0 Kudos
Message 3 of 3
(2,796 Views)