Gx6192/Gx6256/Gx6864SrBusClose

Purpose

Makes a switch router connection between switching boards

Syntax

Gx6256SrBusClose (nHandle, nGlobalBusLine, nSlot, 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)
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 example connects the switch boards from slot 2 and slot 3 via global bus line 5:

 

Gx6256Initialize(2, FALSE, &nHandle1, &nStatus);

Gx6256Initialize(3, FALSE, &nHandle2, &nStatus);

Gx6256SrBusClose(nHandle1, 5, 1, &nStatus);

Gx6256SrBusClose(nHandle2, 5, 2, &nStatus);

 

See Also

Gx6256SrBusGetState. Gx6256SrBusOpen, GxSWGetErrorString