Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

save and present data without accumulation

Dears

I am trying to present e my measurement data on the front panel on real-time and save it in a filie for off-line analysis. I did that but the problem i face is that each time I run the VI the data will be presented and also saved with the previous measurment data which I dont want it. To avoid that the only way i found is to make a little chang in the wiring or to exit the VI and launch it again. Is there any useful method to save each measurment data without the appending to the previous one??

Thanx alot to all
0 Kudos
Message 1 of 2
(3,115 Views)
Hello,

There are two ways that you can attack this problem. First, if you have LV 7.0 or later, you can use the express vi Write LabVIEW Measurement File. With this express vi you can place it on the block diagram and then be prompted for the save information. You would want to select "Next Available File." This selection will create a new file with a root directory every time you run the program.
The second way to attack this problem is to save some sort of unique information in the title each time the program is run such as the time. You could use the Concatenate String vi to add the time to the end of a file name.
I am attaching examples of these two vis to this posting. They are in version 7.0.

Thanks,
Caroline
National Instruments
Thanks,
Caroline Tipton
Data Management Product Manager
National Instruments
0 Kudos
Message 2 of 2
(3,018 Views)