11-20-2008 01:47 AM
Hi,
I want save data from a measurement in to a fille and later I want adding new data in the same file without overwriting the old data from the measurement before. I step the Amplitude in my measure and get many datas from every measure with a new Amplitude. This measure should be saved in the same file with two returns between the datas. How can I do this?
Martin
11-20-2008 02:08 AM
Hi Martin,
Looks like your requirement is to save new data in old data file i.e append to same file..
Every LabVIEW File storage tool gives you option to append either its *.LVM, *.TDM, *.txt etc etc.. you just need to select it to have new data apended to data stored before.. just have look in express vi of LVM write or TDM storage ..
HS
11-20-2008 02:22 AM
ernstm wrote:I want save data from a measurement in to a fille and later I want adding new data in the same file without overwriting the old data from the measurement before. I step the Amplitude in my measure and get many datas from every measure with a new Amplitude. This measure should be saved in the same file with two returns between the datas. How can I do this?
How should each dataset be saved to the file? Are you talking about writing a formatted file or a binary file?
How does your data look like (waveform, 1D array, 2D array, etc).
I would wriite the sections as plain strings with append=true. For each section you could use "array to spreadsheet string" and concatenate that with a string constant containing two returns before appending to the existing file.