Gx6264RemoveBus

Purpose

Disconnects the specified bus from the specified group.

Syntax

Gx6264RemoveBus (nHandle , nBus, nGroup, pnStatus)

Parameters

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.

Comments

Only the specified bus is disconnected from the specified group. All other connections are left intact.

Example

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);

 

See Also

GxSWGetErrorString, Gx6264ConnectBus, Gx6264GetGroup, Gx6264Initialize, Gx6264ResetBus.