Gx1164GetWiperMode

Purpose

Returns whether the group is in wiper mode.

Syntax

Gx1164GetWiperMode (nHandle, nGroup, pbWiper, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX1164 board.
nGroup
SHORT
Group number: 0 for channels 1 to 4 and 1.for channels 5-8
pbWiper
PBOOL
Returned mode:
0 (FALSE): Off.
1 (TRUE):   On.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Use the Gx1164GetWiperMode to determine if the specified group is in wiper mode.

Example

The following example sets the double channel 3/4 resistance and verifies its actual value:

 

Gx1164SetWiperMode(nHandle, 0, 1, nStatus);

Gx1164GetWiperMode(nHandle, 0, &bWiper, nStatus);

if (bWiper!=1)

printf(“Error : Wiper mode not set…”);

 

See Also

Gx1164SetWiperMode