06-16-2008 01:11 PM
Hello! Someone could help me telling me the correct procedure to save the data from an experiment into a spreadsheet, because I do not achieve it.
What I am doing is putting a block of waveform to spreadsheet file connected to block waveform in an example of Acquired N Scans, with a path to file to a text file or an excel file.
When I do this, the program, in 1 sec save the data according to the scan rate, but when you are storing data for the upcoming second, labview 6.0.1 asks me to create a new file or rewrite the existing one.
I would like to know how to make the new data are kept on the predetermined file, below the first data, to handle the information later in a single file and of course have a continuous measurement, without wasting time putting the new data into a new file.
Thanks
Flor De La Peña
06-16-2008 01:52 PM
If you are using Write To Spreadsheet File, there is a Boolean input called 'Append to File?'. The default is false so you will overwrite the file each time. You should provide a front panel control to select the file name/path or use a shift register to retain the path. If you have nothing wired to the path input, you will be prompted for the file name each time. This is all explained in the on-line help for the Write to Spreadsheet function.
p.s. Next time, please post basic LabVIEW question to the LabVIEW board. This has nothing to do with DAQ.