LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save to different files

This is a pretty straight forward question. I'm trying to save data to a lvm. file. The attached VI saves random generated values every time I turn on the boolean onto the desktop. However I have to stop and re-start the VI again in order to generate a new file. How could I generate a new file every time I turn on the boolean without stopping the VI?
 
Thanks in advance
 
Jordi
0 Kudos
Message 1 of 3
(2,647 Views)
Straightforward question, straightforward answer: change the filename. Your Express VI is configured to use the same name all the time, so what did you expect? Wire a value to the "File Name" input that has a value based on some other condition, like time, or phase of the moon, or whatever.
0 Kudos
Message 2 of 3
(2,625 Views)

See this link: http://digital.ni.com/public.nsf/allkb/CB46BC11A488621E86256D19005A386E

If a file already exists, you can select among the following options:

  • Rename the existing file
  • Append a sequential number to the filename
  • Overwrite the file
  • Append the data to the existing file

 

Matthew Fitzsimons

Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
0 Kudos
Message 3 of 3
(2,623 Views)