beautypg.com

Sensoray Smart A/D User Manual

Page 9

background image

S

ENSORAY

I

NSTRUCTION

M

ANUAL

S

MART

A/D D

RIVER

FOR

W

INDOWS

Page 7

3.5.4 SetHiSpeedMode()

Function:

Switches the board to its High Scan Rate/ Low Resolution mode. This should be done before declaring sensor
types, but after any board resets. After calling this function, the only way to return to the default Low Scan
Rate/High Resolution mode, is to call the ResetBoard() function.

Prototype:

void SetHiSpeedMode( long hBD );

Example:

///////////////////////////////////////////////////////////////////////////

// Switch board number 2 to the high speed, low resolution mode.

///////////////////////////////////////////////////////////////////////////

SetHiSpeedMode( 2 );

3.5.5 SetReject50Hz()

Function:

Switch the board to its 50 Hertz rejection mode. This should be done before declaring sensor types, but after any
board resets. After calling this function, the only way to return to the default 60 Hertz rejection mode is to call the
ResetBoard()

function.

Prototype:

void SetReject50Hz( long hBD );

Example:

///////////////////////////////////////////////////////////////////////////

// Switch board number 7 to the 50 Hertz rejection mode.

///////////////////////////////////////////////////////////////////////////

SetReject50Hz( 7 );

Parameter

Type

Description

hBD

long

Board handle.

Parameter

Type

Description

hBD

long

Board handle.