Function SetRefCalculation

TMSi Data Acquisition SDK

 
TMS International BV

SetRefCalculation

BOOLEAN SetRefCalculation( 
IN HANDLE Handle,

IN int OnOrOff
);

Parameters

Handle
   
Handle of the library

OnOrOff
   If the average reference calculation is turned on (value != 0 ), or off (value == 0)

    

Return Value

If successful this function returns TRUE, else FALSE. If the function returns FALSE, use GetErrorCode to get the error code.
 

Comments

This function is used to turn the average reference calculation in the driver ON or OFF.
When using Synfi, the average reference calculation in the driver should always be OFF. Refer to the User Manual of the Synfi for more information on this.

Warning

By default, it is OFF for all devices. This means that all EXG channels carry raw signals, i.e. without the common average removed from the signals, and this will result in showing 50/60 Hz interference in the signals.

 Also see

Start