52
GX6384
User’s Guide
Gx6384SetGroupsConfiguration
Purpose
Sets the switch matrix configuration.
Syntax
Gx6384GetConfiguration
(
nHandle, pnConfig, pnStatus
)
Parameters
Name
Type
Comments
nHandle
SHORT
Handle to a GX6384 board.
nConfig
SHORT
Switch matrix configurations are:
6.
GX6384_CONFIG_AS_TWO_GROUPS_32_CHANNELS: The Switch Matrix
configured as two groups with 32 columns.
7.
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.
Note:
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 return the switch matrix configuration:
SHORT
nConfig;
Gx6384GetConfiguration (nHandle, &nConfig, &nStatus);
See Also
Gx6384SetGroupRow32Columns, Gx6384SetGroupRow64Columns, Gx6384GetChannel, Gx6384Close,
Gx6384Open, Gx6384SetGroupsConfiguration, GxSWGetErrorString
Содержание GX6384-1
Страница 2: ......
Страница 7: ...GX6384 User s Guide v Index 55 ...
Страница 8: ...vi GX6384 User s Guide ...
Страница 36: ...28 GX6384 User s Guide ...