LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI USB 6251 signal generation

I am trying to generate a signal using DAQmx and the NI USB 6251. The signal that is shown on my labview front panel has the correct amplitude but when I view my signal on an oscilloscope it is greater by one order of magnitude and I cannot figure out why. I have tried to fix it in the code but it does not work for smaller amplitude values, which leads me to believe the problem is in my daq board. Anyone else ever have this problem or know of a way to fix it?

 

I have attached my code in case it is just a coding error I have overlooked. Wouldn't be the first time.

0 Kudos
Message 1 of 4
(2,919 Views)

I'm a student (not an engineer), so take what I have to say with a grain of salt, but it sounds like you may have a grounding problem. Are you sure your oscilloscope cable is attached to the ground?

0 Kudos
Message 2 of 4
(2,902 Views)

Also be sure to check the scope's input impedance and verify that it's not set to compensate for a 10X probe (usually this is automatically detected by the scope's input connector).

 

It is VERY unlikely that a 6251 would fail in this way.  I suggest you set your DAQ output for a DC value (Use the MAX test panel) and check it with a DMM before you go any further with troublshooting the board.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 4
(2,892 Views)

the probe was the problem. silly mistake, so thanks a lot.

0 Kudos
Message 4 of 4
(2,885 Views)