LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I timestamp a 1D array of waveforms and write that file to text or a spreadsheet?

Hi,
I'm trying to get LabView to time stamp every data point that I'm acquiring through the DAQmx. It seems like I've tried everything and I just can't get it to work. I'm acquiring at 200kSamples/sec and if I use the DAQmx read.vi that outputs waveform rather than a 1D array of DBL, I get error messages because the computer can't keep up. The processor usage hits 100% very quickly and it stops the vi. I'm using a 3Ghz with 1GB of RAM by the way. The main purpose of this is to record the data and output it as a comma delimited spreadsheet or text file as either will work. Could someone take a look at the attached vi and give me some suggestions please?
 
Chad
0 Kudos
Message 1 of 2
(2,673 Views)

Hi Chad,

Timestamp information is built into the waveform data type, so you should be getting this information automatically from the DAQmx Read. Could you be a little more clear about what exactly is going wrong? The error message that you mentioned -- is it coming from the DAQmx driver, LabVIEW, or Windows? In some cases, CPU usage of 100% with DAQmx is perfectly normal (as explained here), so that doesn't necessarily tell us much. What would be more informative would be the actual contents and context of any error messages that you are receiving.

Kind Regards,

E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,652 Views)