Gx6188BleedRelayClose

Purpose

Closes the bleed relay for a specified selector bus.

Syntax

Gx6188BleedRelayClose (nHandle, nSelectorBus, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6188 board.
nSelectorBus
SHORT
Selector Bus numbers are:
0.      GX6188_SELECTOR_BUS_A
1.      GX6188_SELECTOR_BUS_B
2.      GX6188_SELECTOR_BUS_C
3.      GX6188_SELECTOR_BUS_D
4.      GX6188_SELECTOR_BUS_E
5.      GX6188_SELECTOR_BUS_F
6.      GX6188_SELECTOR_BUS_G
7.   GX6188_SELECTOR_BUS_H  
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Each Selector Bus has a bleed relay that can be used to bleed the path when making a new connection.

Example

The following example closes the Selector Bus A bleed relay:

 

Gx6188BleedRelayClose (nHandle, GX6188_SELECTOR_BUS_A, &nStatus);

 

See Also

Gx6188BleedRelayGetState, Gx6188BleedRelayOpen, GxSWGetErrorString