04-22-2010 03:02 PM
Hello,
I have an issue in which I am trying to read in a temperature signal (10mV/degC) using the USB-6009, but have run into an issue of accuracy in the input signal of the DAQ device. The temperature at room temperature reads at a steady 230mV (23degC) using a multimeter device, but with the DAQ device I am seeing the signal bounce around at +- 25mV, which greatly effects my work.
I hoped that someone would have a solution to this as my brief search of the forums turned up nothing. Is there a way to average out this wide band in input signal measurement or any way to resovle this??
Solved! Go to Solution.
04-22-2010 03:25 PM
Hi mdzz,
I would first make sure that you are measuring differentially on the ±1 V range of the 6009 to get the most accuracy possible from the DAQ card.
It's common for DMMs to implement some sort of averaging to obtain a more stable measurement and reduce system noise. This isn't done on our DAQ cards which are often used to measure fast-moving signals. Implementing your own averaging in software would be a good idea in your case. For example, you can configure a HW-timed measurement @10 kHz, read back 1000 samples per loop iteration and average them together to get a more stable result that would still update 10x per second.
Best Regards,
04-22-2010 05:57 PM
04-23-2010 10:39 AM
Hi mdzz,
What development environment are you using?
Here's a LabVIEW example that should do what you need.
04-23-2010 10:45 AM - edited 04-23-2010 10:51 AM
Hi mdzz,
JohnP has posted a great example for this. You could also use a LabVIEW DAQmx shipping example for this, with a little modification. You can locate this example in LabVIEW by navigating to Help»Find Examples... and then selecting Hardware Input and Output»DAQmx»Analog Measurements»Voltage»Cont Acq&Graph Voltage-Int Clk.vi. You can then specify the sample clock rate (Frequency) and Number of Sample per Channel (Number of samples to be averaged each iteration). Also, you will want to average the array of data that is output from the DAQmx Read inside of the while loop by inputting the Data Array into Mean.vi, which is located by navigating to Functions Palette»Mathematics»Probability and Statistics»Mean.vi. The output will be a single value, the average of the array, which you can graph or log.
Best,
04-23-2010 06:37 PM