beautypg.com

Setreject50hz, 4 setreject50hz – Sensoray 118 User Manual

Page 19

background image

Sensoray Model 118 Smart A/D™ Instruction Manual

17

Commands: Board Configuration

6.1.4 SetReject50Hz

Increases the digitizer’s integration period from 16.7
milliseconds (default) to 20.0 milliseconds, enabling the
Smart A/D to better reject 50Hz differential noise.

This function should be used in systems targeted for
50Hz power environments.

A board reset will restore the board to the default 60Hz
rejection mode. This is the only way to return to the
60Hz rejection mode after invoking the SetReject50Hz
function.

When the 50Hz rejection mode is active, any attempt to
invoke this command again will be ignored.

Driver

// Switch a Smart A/D board to the 50Hz rejection mode.

VOID SetReject50Hz( USHORT BasePort )

{

SendByte( BasePort, CMD_SET_REJECT50HZ );

}

Example

// Configure a board to operate in the 50Hz rejection mode.

SetReject50Hz( MyBasePort );

Command: (72)

Response:

None

This manual is related to the following products: