09-22-2009 01:06 AM
09-22-2009 02:43 AM
Hey,
What you get from your DAQmxRead.vi is just a DBL Array of the measurement values, there is no timestamp included, so would need to build this additional column bei yourself. Another way would be to change the datatype of DAQmxRead's output to "waveform", there you get the T0 as timestamp and the dt as DBL value, which you can use again to build your time column.
Hope this helps,
Christian
09-22-2009 03:04 AM
09-22-2009 01:22 PM
How would I go about building a time stamp column and appending it to the output of the DAQmx? I tried the tick count (ms) function and the elapsed time function, then built an array, but neither did what I wanted.
I also changed the output to waveform and used the Export Waveforms to Spreadsheet File.vi, but I don't like the Date/Time stamp. I just want a millisecond count, starting at zero.
09-23-2009 02:03 AM
10-01-2009 11:38 AM
Thanks so much for the suggestion and screenshot, but I tried it and it doesn't quite work... what's the reciprocal and addition for?
10-02-2009 01:09 AM
The reciprocal is to get the reciprocal of the SampleClock, which is the time between Samples also known as Sample Intervall dt.
The Add is to fill the array up with this dt's to get your time channel.
So what exactly did not work?
Christian