Discussion:
daq file output
(too old to reply)
HereWeGo
2008-08-12 14:40:21 UTC
Permalink
I am acquiring a multichannel daq data.  I am trying to write it to a file using the spreadsheet.vi.  The problem is I want to add a column with time and a column with row number.  I also want to add a multi-line custom header with information such as date, time, channels, etc. What is the easiest way for me to do this?  The code I have started is attachedMessage Edited by HereWeGo on 08-12-2008 09:26 AM


daq output.vi:
http://forums.ni.com/attachments/ni/170/348615/1/daq output.vi
smercurio_fc
2008-08-12 14:40:24 UTC
Permalink
This seems to be the same question you asked <a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=348358" target="_blank">here</a>.
Dennis Knutson
2008-08-12 16:10:06 UTC
Permalink
It would be so much simpler if you used the 1D Waveform data type from your DAQmx Read. You would automatically get a timestamp with your acquisition and you could use the Export Waveforms to Spreadsheet File function without all of that silly array manipulation (which is probably incorrect, anyway).
Continue reading on narkive:
Loading...