Gx6377MatrixGetConfiguration (nHandle, pnConfig, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX6377 board. |
pnConfig |
PSHORT |
Switch matrix configurations are:
|
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The Switch Matrix can be configured via software as two groups of 2x16 or one group of 2x32. 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 Gx6377MatrixGetRow function to retrieve the state of all relays in the specified row and group.
The following example return the switch matrix configuration:
SHORT nConfig;
Gx6377MatrixGetConfiguration (nHandle, &nConfig, &nStatus);
Gx6377MatrixSetConfiguration, Gx6377MatrixGetRow, Gx6377MatrixSetRow, Gx6377MatrixClose, Gx6377MatrixOpen, GxSWGetErrorString