Gx1164SetWiperMode

Purpose

Sets the group wiper mode.

Syntax

Gx1164SetWiperMode (nHandle, nGroup, pbWiper, pnStatus)

Parameters

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

Comments

Use the Gx1164SetWiperMode when working in potentiometer mode. When in wiper mode the 2 lower channels are connected to the upper channels of the group.

Example

The following example sets group 0 (A) to wiper mode

 

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

If (bWiper)

Printf(“We are in Wiper Mode”);

 

See Also

Gx1164GetWiperMode