LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i save alternatively the data without asking the acquisition program?

hello,
I'm developing un acquisition program for a machin that have the syclic operations, I want to save automatically the data in different fils evry sycl!
0 Kudos
Message 1 of 2
(2,520 Views)
Hi Anward,

When you create a file, you could index the name by time or something unique (iteration number for instance).

So if the vi that creates the file has a loop which keeps tract of the test cycle, then you can place the filename creation within this loop. If it is located within a sub-vi which is called at every cycle, then create the name there. Make sure you close the written file at the end of each cycle.

Use the "Open/Create/Replace File.vi" located in "File I/O" of the Functions Palette. Wire the option to Create new file.

JLV
Message 2 of 2
(2,520 Views)