Gx6188MatrixClose

Purpose

Closes a Matrix relay.

Syntax

Gx6188MatrixClose (nHandle, nChannel, nSelectorBus, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6188 board.
nChannel
SHORT
Channel numbers are 1-104.
nSelectorBus
SHORT
Selector Bus numbers are:
0.      GX6188_SELECTOR_BUS_A
1.      GX6188_SELECTOR_BUS_B
2.      GX6188_SELECTOR_BUS_C
3.      GX6188_SELECTOR_BUS_D
4.      GX6188_SELECTOR_BUS_E
5.      GX6188_SELECTOR_BUS_F
6.      GX6188_SELECTOR_BUS_G
7.    GX6188_SELECTOR_BUS_H
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

This function connects the specified UUT channel located at J2 (channels 1 to 52) or J3 (channels 53 to 104) to the specified selector bus.

Example

The following example closes the relays between UUT channel 5 and Selector Bus B:

 

Gx6188MatrixClose (nHandle, 5, GX6188_SELECTOR_BUS_B, &nStatus);

 

See Also

Gx6188MatrixGetChannel, Gx6188MatrixOpen, GxSWGetErrorString