LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving different jpeg file for continuous reading of height image

Highlighted

Hi, I am facing trouble with saving the jpeg file of the data continuously. I have attached my VI. In this I am able to save the jpeg file but when the graph gets complete the new graph starts saving in the save jpeg file by overwriting the previous one. I am getting data at a very high speed. So I want to save all the graphs in different jpeg file in the same folder.

I am new to lab view so if you can help me from basics or either by changing my VI files will be highly appreciated.

Thank you

 

0 Kudos
Message 1 of 6
(117 Views)

Hi ish,

 

what's the problem to use a unique filename for each JPG file?

Best regards,
GerdW
CLAD expired, using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 2 of 6
(103 Views)

Hi GerdW,

Thanks for such a quick response. Can you let me know how to do that as I can see in the write jpeg file just to give one file name that it saves.

0 Kudos
Message 3 of 6
(97 Views)

Just create a different filename for each file...

(There is a full palette of file functions!)

Best regards,
GerdW
CLAD expired, using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 4 of 6
(92 Views)

It overwrites your old data since they are having the same file name. If you can give a unique filename for each image, that would solve your problem. For example, append the timestamp to the filename.

0 Kudos
Message 5 of 6
(46 Views)

Here's a simple example.

Make sure to read the comment box!

Example_VI.png

 

You might also want to consider the Create File with Incrementing Suffix VI.

GCentral
0 Kudos
Message 6 of 6
(33 Views)