Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Data lag with NI USB6008

We are using NI USB 6008 DAQ device with the NI SDK. While we are receiving data there is always "Data lag" of about a minute. NI tech support explained that the 6008 is a basic entry model which due to software issue will result in "Data lag" in ms or may be a sec or so. However, we observe a lag up to a minute. Here is the call function we employ:

 

We collect data with this code by polling time(in config.ini) repeatedly.


===========================================================================

 

                AnalogMultiChannelReader reader = new AnalogMultiChannelReader(myTask.Stream);
                double[] data = reader.ReadSingleSample();

 

 

                rfsvolt    = data[0];            // Volt Value
                rfscurrent = data[1];         // Current Value
                rfsphase   = data[2];         // Phase Value


                rfsdata = "RF0102=" + rfsvolt.ToString() + "^RF0103=" + rfscurrent.ToString() + "^RF0105=" + rfsphase.ToString();
                timestamp = DateTime.Now;         

 

 

0 Kudos
Message 1 of 2
(2,975 Views)

Hi JustinWongTX,

 

Have you tried the examples that come with the DAQmx drivers? if so, are you getting the same results?

 

Eric NI

0 Kudos
Message 2 of 2
(2,955 Views)