04-17-2009 11:02 AM
I am using the NI 9219 analog input module to measure a 0-10V input. When the input is 10V (checked with a multimeter), labview is measuring 5V. I am using the sample code "Cont Acq&Graph Voltage - Write Data to File (TDMS) to collect the data.
What parameter do I have to set to get the proper scale?
04-20-2009 10:45 AM - edited 04-20-2009 10:45 AM
Hi Rob,
You may need to set the Maximum Value input of DAQmx Create Channel as shown below:
The example should have this as an input on the front panel already, so the issue could be something else. After you verify that the range is set correctly, I would like to find out the following information so we can better diagnose the problem:
-John
04-20-2009 03:19 PM
I tried changing the max and min values. I used +/- 60, +/-15, and 0-10. Changing these values did not affect the measured values.
The measured value is consistently less than the actual amount. It starts off being off by a factor of 1.6 at 0 and changes to a factor of 1.55 near 10. ie. measure about 6.2V at 10V
The voltage source is an LVDT (output of 0-10V)
I connected to terminal 4 (HI) and 5 (Low) on Connector 0. thanks for your help
04-21-2009 10:35 AM
Hi Rob,
Thanks for the update. A couple other questions:
I'm not sure what you mean by "a factor of 1.6 at 0". Is there an offset amount when measuring 0 volts or just a gain error?
-John
06-11-2009 09:31 AM
06-11-2009 04:19 PM
Hi Rob,
I hope the visit went well. You will likely have to contact NI by phone to arrange for a repair. You can choose to speak with an engineer to help troubleshoot the issue, although it sounds like the problem is indeed likely with the ADC on channel 0.
-John