LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Data Logging

Solved!
Go to solution

Two main problems with your VI:

  1. REmove both "Wait (ms)" from both while loops! You do not need them! The top while loop is timed by the DAQmx Read VI. The bottom loop is timed by the Queue.
  2. You read your 2 millions of data points as a waveform. But you coerce it in to a Dynamic data type. This can cause problems. Do you really need timing info in your file? Is that not enough you know you have 2MHz sampling rate, so you could just simply store the measured voltages as double...
  3. Do not use a waveform Graph in your top DAQ loop! Also, you really want to see 2 millions of data points at every second? You should do kind of decimation or averaging...
  4. To be efficient do not use a File Express VI in your consumer loop. Use a TDMS file function instead.

I would change the DAQmx Read to read double array, and also set the Queue to carry array.

 

 

0 Kudos
Message 11 of 12
(863 Views)

sorry, I just read the rules and I ahve done the right thing. thanks   

0 Kudos
Message 12 of 12
(832 Views)