Gx6192/Gx6256/Gx6864SrBusGetState

Purpose

Returns a switch router connection state between switching boards

Syntax

Gx6256SrBusGetState (nHandle, nGlobalBusLine, nSlot, pnState, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6256/GX6864/GX6192 board.
nGlobalBusLine
SHORT
Global Bus line (0-15)
nSlot
SHORT
Slot number (1-9)
pnState
PSHORT
Returns the state of a rear transition module matrix relay
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The Switching router routes the 16 lines of the global bus between the slots.

Example

The following returns the state of slot 5, global bus line 15 connection state:

 

Gx6256SrBusGetState (nHandle, 15, 5, &nState , &nStatus);

 

See Also

Gx6256SrBusClose, Gx6256SrBusOpen, GxSWGetErrorString