07-03-2021 05:58 PM
Hi,
I am using USB-6211 for checking if this DAQ device produces some scaling and/or offset. To check this, I am providing a 1KHz sine wave with 5Vpp and no offset. When I check using the attached vi (please refer to image) I am getting a sine wave with only 1.5V to -1.5V instead of 2.5V to -2.5V with a little bit of offset. Can someone help me why I am unable to see the full signal? And how this scaling and offset is set? So I can add/subtract the offset and multiply/divide the scaling factor to get a proper signal? Thanks.
07-03-2021 06:55 PM - edited 07-04-2021 10:11 AM
The problem with pictures of code containing express VIs and dynamic data is that we cannot tell at all how things are configured. How is everything configured, connected, and terminated. Looks like you are sampling at a few kHz. Did you verify that the signal is accurate (e.g. using an oscilloscope). Does things look better using the test panels?
And why do you say in the subject that the sampling rate is wrong (x-axis)? While in the body you say the voltage is wrong (Y-axis). Which is it?
07-03-2021 08:35 PM
Along with the DAQ settings, we also need to know exactly how you have the source attached.
My guess is you are wired for a Reference Single Ended but configured the DAQ to use a Differential (the default) setup.
07-03-2021 09:01 PM - edited 07-03-2021 09:03 PM
Hi,
Thank you for your replies and my bad, I forgot to give the details. For the signal, I am using a waveform generator and I checked the signal on oscilloscope before providing to the DAQ device. I have connected +ive of the probe to pin 17 (input) and connected -ive of the probe to pin 28 (ground) to provide a common ground. I am sampling at 5KHz (5 times the actual signal freq. which is 1 KHz) and my inputs are from -2.5V to 2.5V and RSE configuration.
@altenbach, what do you mean by test panels?