09-07-2012 07:59 AM
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;
09-11-2012 09:23 AM
Hi JustinWongTX,
Have you tried the examples that come with the DAQmx drivers? if so, are you getting the same results?
Eric NI