Gx6192/Gx6256/Gx6864MatrixInputSelectorGetChannel

Purpose

Returns an matrix input connection state

Syntax

Gx6256MatrixInputSelectorGetChannel (nHandle, nMuxGroup, pnState, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6192/GX6256/GX6864 board.
nInput
SHORT
Inputs numbers are 0-15  
pnState
SHORT
Returns the state of a matrix input connection
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The Gx6256/Gx6192 switching boards contain a matrix.

The Gx6256 matrix connects the mux groups to the global bus lines.

The Gx6192 matrix connects the mux groups to the analog inputs.

Example

The following returns the board's matrix input 5 connection state:

 

Gx6256MatrixGetChannel(nHandle, 5, &nState , &nStatus);

 

See Also

Gx6192/Gx6256/Gx6864MatrixInputSelectorClose, Gx6192/Gx6256/Gx6864MatrixInputSelectorOpen, GxSWGetErrorString