From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-25-2007 01:34 PM
09-25-2007 02:11 PM - edited 09-25-2007 02:11 PM
When you use a DAQmx Read, you have the option of returning a waveform data type. This includes time data. If you were to use this and either Export Waveforms to Spreadsheet File or Write Measurement File, this would included. To stick with the regular Write to Spreadsheet File, you would have to create an array of timestamps yourself based on a start time and the sample rate of the DAQ. Then you would convert this and the data array to strings and use the string array type of Write to Spreadsheet instead of the DBL type.
Message Edited by Dennis Knutson on 09-25-2007 01:12 PM
09-25-2007 02:27 PM
09-25-2007 02:34 PM
09-26-2007 02:39 AM
@mchips wrote:
I guess my question is how to put the 2D data array into clumns in the text file starting from the second after converting it to spreadsheet string.
09-26-2007 07:55 AM