50
GX6384
User’s Guide
Gx6384SetGroupRow64Columns
Purpose
Sets the state of all 64 relays of the specified group’s row when configured as one group with 64 columns.
Syntax
Gx6384SetGroupRow64Columns
(
nHandle, nGroup, nRow, dwStatesColumns32to63, dwStatesColumns0to31,
pnStatus
)
Parameters
Name
Type
Comments
nHandle
SHORT
Handle to a GX6384 board.
nGroup
SHORT
If the Switch Matrix is configured as two groups with 32 columns
(default configuration) Group numbers are:
0.
GX6384_GROUP_A
1.
GX6384_GROUP_B
If the Switch Matrix is configured as one group with 64 columns the
only Group number is:
0.
GX6384_GROUP_A
nRow
SHORT
Row numbers are:
0.
GX6384_ROW_0: row number 0 (all models).
1.
GX6384_ROW_1: row number 1 (all models).
2.
GX6384_ROW_2: row number 2 (models GX6384-2 and
GX6384-3 only).
3.
GX6384_ROW_3: row number 3 (models GX6384-2 and
GX6384-3 only).
4.
GX6384_ROW_4: row number 4 (GX6384-3 only).
5.
GX6384_ROW_5: row number 5 (GX6384-3 only).
dwStatesColumns32to63
DWORD
Returned state of relays 0-31 in the row. Each bit corresponds to a relay
in the selected row where a ‘1’ corresponds to a closed relay and ‘0’ to
an open relay. The low order bit represents column 0 and the high order
bit represents the last column.
dwStatesColumns0to31
DWORD
Returned state of the relays 32-63 in the row. Each bit corresponds to a
relay in the selected row where a ‘1’ corresponds to a closed relay and
‘0’ to an open relay. The low order bit represents column 0 and the high
order bit represents the last column.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.
Summary of Contents for GX6384-1
Page 2: ......
Page 7: ...GX6384 User s Guide v Index 55 ...
Page 8: ...vi GX6384 User s Guide ...
Page 36: ...28 GX6384 User s Guide ...