Makes a switch router connection between switching boards
Gx6256SrBusClose (nHandle, nGlobalBusLine, nSlot, pnStatus)
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. |
The Switching router routes the 16 lines of the global bus between the slots.
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);