40
GX6384
User’s Guide
Gx6384GetGroupsConfiguration
Purpose
Return the switch matrix configuration.
Syntax
Gx6384GetConfiguration
(
nHandle, pnConfig, pnStatus
)
Parameters
Name
Type
Comments
nHandle
SHORT
Handle to a GX6384 board.
pnConfig
PSHORT
Switch matrix configurations are:
0.
GX6384_CONFIG_AS_TWO_GROUPS_32_CHANNELS: The Switch Matrix
configured as two groups with 32 columns.
1.
GX6384_CONFIG_AS_ONE_GROUP_64_CHANNELS: The Switch Matrix
configured as one group with 64 columns.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.
Comments
The Switch Matrix can be configured via software as two groups with 32 columns or one group with 64 columns. All
the Switch Matrix channels will be opened prior to applying the new configuration settings. Applying the same
configuration settings will not change the current group’s channels settings.
Use the
Gx6384GetRow
function to retrieve the state of all relays in the specified row and group.
Example
The following example returns the switch matrix configuration:
SHORT
nConfig;
Gx6384GetConfiguration (nHandle, &nConfig, &nStatus);
See Also
Gx6384SetGroupRow32Columns, Gx6384SetGroupRow64Columns, Gx6384GetChannel, Gx6384Close,
Gx6384Open, Gx6384SetGroupsConfiguration, GxSWGetErrorString
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 ...