LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Export Waveform to bmp or jpeg

Hi,
 
Does anyone know how to export waveform to either bmp or jpeg format continously with a different file name programmatically?  I am able to export the waveform to bmp format manually but I would like to have the program export the waveform to bmp format programmatically with a different file name when the waveform is exported.  For example, I run the test over night and approximately every 10 seconds the test reads a new waveform.  When the a new waveform is read I would like to program to export the waveform to bmp format and save it in a folder with a new file name. 
 
I would really appreciate it if anyone could help.
0 Kudos
Message 1 of 3
(3,372 Views)
First, you'll need to put your file write inside a while loop.  After your DAQ code executes in the loop, have a programmatic name.  It can be something as easy as an incremented counter, as long as it's intelligible to you (you could also multiply by a constant to get a sort of timestamp effect in the filename).  Then pass it to your image writer and wire a loop condition.
 
 
0 Kudos
Message 2 of 3
(3,363 Views)
Thank you for your help.  My program is working great now.  Once again thank you.
0 Kudos
Message 3 of 3
(3,326 Views)