Sets the group wiper mode.
Gx1164SetWiperMode (nHandle, nGroup, pbWiper, pnStatus)
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. |
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.
The following example sets group 0 (A) to wiper mode
Gx1164GetWiperMode(nHandle, 0, &bWiper, &nStatus)
If (bWiper)
Printf(“We are in Wiper Mode”);