Disconnects the specified bus from the specified group.
Gx6264RemoveBus (nHandle , nBus, nGroup, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to the board. |
nBus |
SHORT |
Bus number 0-3; X0=0, Y0=1, X1=2, Y1=3 |
nGroup |
SHORT |
Group number 0-7. Corresponds to groups A-H. |
pnStatus |
LPSHORT |
Returned status: 0 on success, negative number on failure. |
Only the specified bus is disconnected from the specified group. All other connections are left intact.
The following example removes the X0 bus from group A and the Y0 bus from group D:
Gx6264RemoveBus(nHandle, 0, 0, &nStatus);
Gx6264RemoveBus(nHandle, 1, 3, &nStatus);
GxSWGetErrorString, Gx6264ConnectBus, Gx6264GetGroup, Gx6264Initialize, Gx6264ResetBus.