Gx6264SetGroupMode

Purpose

Sets the specified Group operation mode.

Syntax

Gx6264SetGroupMode (nHandle , nGroup, nOpMode, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to the board.
nGroup
SHORT
Group number 0-7. Corresponds to groups A-H as follow:
0 GX6264_GROUP_A
1 GX6264_GROUP_B
2 GX6264_GROUP_C
3 GX6264_GROUP_D
4 GX6264_GROUP_E
5 GX6264_GROUP_F
6 GX6264_GROUP_G
7 GX6264_GROUP_H
nOpMode
SHORT
Group operation mode:
0 GX6264_GROUP_MODE_SCANNER: Group is set to operate in Scanner mode (default).
1 GX6264_GROUP_MODE_MATRIX: Group is set to operate in Matrix mode.
pnStatus
LPSHORT
Returned status: 0 on success, negative number on failure.

Comments

The operation mode can be 0-1 where:

0 GX6264_GROUP_MODE_SCANNER: The Group is set to operate in Scanner mode (default).

1 GX6264_GROUP_MODE_MATRIX: Group is set to operate in Matrix mode. In this mode each of the specified Group’s channel can be connected.

Caution - When closing a relay, verify that all other relays on the same circuit that may cause a short are disconnected (a delay may be required between switching commands). Low Impedance sources such as power supplies may cause irreversible damage to this product when shorted to other signals.

Example

The following example sets group A operation mode to scanner:

 

Gx6264SetGroupMode (nHandle, GX6264_GROUP_A, GX6264_GROUP_MODE_SCANNER, &nStatus);

 

See Also

Gx6264ResetBus, Gx6264SetBusMode