02-07-2017 05:39 AM
Hi All,
a simple one,
I am using a USB6216 DAQ to measure a 3V dc signal. I am inputting the signal to a analog input.
Attached it the signal being read from the DAQ. Becasue of this the signal could be anywhere between 0-3 volts, which is casuing incorrect results.
How would i go about properly reading this voltage ?
Thanks,
Richard.
02-07-2017 05:50 AM
02-07-2017 06:00 AM
Hi lvrichard,
Can you clarify a few things?
02-07-2017 06:32 AM
Hi,
The input (confirmed with an oscilloscope) is a constant 2.9volts and not a square wave. I feel the square wave is a result of the sampling rate for some reason.
Thanks
02-07-2017 06:46 AM
Pure guessing...
Your disturbing pattern is exactly at 50 Hz and I can see your DAQ step is configured in differential mode, so I would suspect you are having serious (main power) common mode issues that may overload your DAQ device. Have you connected your ground correctly? Have you tried single-ended mode and if so... does that fix your issue?
02-07-2017 06:55 AM
Hmm. You appear to have a signal that "goes to ground" at very close to 50 Hz. Are you, perhaps, at a location that has 50Hz A/C power? Do you know about how to wire a DAQ device for analog voltage, including proper grounding?
While you show no code nor wiring diagram, the nature of the signal you show suggests a "wiring" issue as my "best guess".
Bob Schor
02-07-2017 07:25 AM
Hi Bob,
I am using a differntial set up. Do I still need to connect the negative terminal to AIGND ?
This seems to solve the issue ?
Thanks
02-07-2017 08:09 AM
@lvrichard wrote:
I am using a differntial set up. Do I still need to connect the negative terminal to AIGND ?
Even differential signals need a ground reference. So you need to make sure everybody is using the same ground. I will just defer to a white paper from here: Field Wiring and Noise Considerations for Analog Signals