LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with Data Acquisition

I am trying to use LabVIEW to write a program that will record the electrical responses of the eye to bright flashes of light. I've started to write the program by creating a simple function generator and passing a waveform from the computer, to one of the output terminals on my NI PCI 6024 DAQ Board, and then splitting the signal to an oscilloscope and back to an input channel on the DAQ board, which would then be displayed on the screen using LabVIEW. I am able to create the waveform function and it appears fine on the oscilloscope but not on the computer. At low frequency, the signal does appear on the computer screen but gradually drifts towards a value of 10 and then becomes saturated (i.e. the waveform becomes a horizontal
line at y = 10). At high frequency (~ 1kHz), the signal cannot be read by LabVIEW and I receive an error (# 10687). I've attempted connecting the cables to various input and output channels but always seen to see the drifting behavior. These drifting waveforms are also more variable from the original function generator waveform in that the amplitudes are significantly reduced (e.g. an amplitude 1 sine wave will have amplitude 0.7). If anyone has encountered similar problem and can suggest a possible solution or idea I could try, I'd appreciate it. Thanks.
0 Kudos
Message 1 of 6
(3,359 Views)
Did connect up your ground wire of your analog input?

This sounds like an input capacitance is charging.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 6
(3,359 Views)
I'm sure the ground wire is connected to the input. I've tried using an external function generator and feeding a sine wave into my channel 0 output (I've tried all output channels 0 - 5) of my DAQ box (card NI PCI 6024E) and into an oscilloscope; I assume that if the ground wire was not connected that the signal would drift on both the oscilloscope and the computer screen, but I only see drift on the screen. Might there be a problem with the connections within the DAQ card itself (improperly connected wire).
0 Kudos
Message 3 of 6
(3,359 Views)
Before you get mad, remember I am trying to help.

The scope could by pcicking up a ground through another path.

I do not recall you saying how the input is configured. If it is set for differential, then you return must be wired appropriately.

If you think the board is bad, contact NI support at
1-(800) 433-3488
If they are convinced they can help you get the board fixed.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 6
(3,359 Views)
Hi Ben,

Sorry if my last message sounded agressive, I didn't mean any disrespect and appreciate your help.

the input is configured for differential mode. Did you mean that the return (output) must be wired inappropriately? Not sure if the board itself is bad, it is pretty new.
0 Kudos
Message 5 of 6
(3,359 Views)
In diff mode the board compare the reading from two input channels. If one is wired and the other is not, you get a measurement of one signal vs an unknown.

Check your wiring.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 6
(3,359 Views)