Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQsingleBufExtTrig_Eseries.c returns higher voltage readings each time it is run

I am useing A pci6024E board running the sample program DAQsingleBufExtTrig_Eseries.c to read an analog signal produced by A FUNCTION GENERATOR
I thought that things were going well until I
realized that each time i ran the program ,the voltage readings increased by about 1 volt each run .
irregardless of the function generators settings
I tried adding the AI_CLEAR FUNCTION TO THE PROGRAM BUT STILL GOT THE SAME RESULTS.Can someone please explain what I am doing wrong
wfleeman@hotmail.com
0 Kudos
Message 1 of 2
(2,737 Views)
Walter

Does the program finish on its own, or are you aborting it before it ends? Also, is it that the voltages continue to increase, even above the range of the board?

Try to do a DAQ_Clear(iDevice) at the very beginning of the program as well as the end.

Brian
0 Kudos
Message 2 of 2
(2,736 Views)