Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Overloaded Channels on NI PCI-4474 + accelerometer

Hi, I've a problem acquiring the acceleration data with my NI PCI-4474 connected with an accelerometer (the OS is OpenSuse 11.3). 
The program always detect an overloaded channel on Dev\ai0

 

/*********************************************/
// DAQmx Read Code
/*********************************************/
DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,1000,10.0,DAQmx_Val_GroupByScanNumber,data,1000,&read,NULL));
if ( overloadDetectionEnabled )
	DAQmxErrChk (DAQmxGetReadOverloadedChansExist(taskHandle,&overloaded));

if( read>0 ){ printf("Acquired %d samples. Total %d\r",read,totalRead+=read); for(int i=0; i< read; i++){ printf("%f\n", data[i]); } } if( overloaded ) { DAQmxErrChk (DAQmxGetReadOverloadedChans(taskHandle,overloadedChannels,1000)); printf("Overloaded channels: %s\n",overloadedChannels); }

 

Restarting the program or powering off the device seems not to solve.

What are the possible causes of this overloaded channel detection?
Do I have to reset the board or change the accelerometer?
 

0 Kudos
Message 1 of 2
(2,695 Views)

I've plugged off the cable connected to the accelerometer and also in this case the board detect an overloaded channel.
So I assume is not an accelerometer or cable problem.

 

Is my PCI-4474 broken?
Is there anyone who can help me?

0 Kudos
Message 2 of 2
(2,661 Views)