Gx6192/Gx6256/Gx6864BleedRelayGetState

Purpose

Returns a bleed relay's state

Syntax

Gx6256BleedRelayGetState (nHandle, nMuxGroup, pnState, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6256/GX6864/GX6192 board.
nMuxGroup
SHORT
Mux Group numbers are:
0.      GX6256_GROUP_A
1.      GX6256_GROUP_B
2.      GX6256_GROUP_C
3.      GX6256_GROUP_D
4.      GX6256_GROUP_E
5.      GX6256_GROUP_F
6.      GX6256_GROUP_G
7.      GX6256_GROUP_H
8.      GX6256_GROUP_I
9.      GX6256_GROUP_J
10.   GX6256_GROUP_K
11.   GX6256_GROUP_L
12.   GX6256_GROUP_M
13.   GX6256_GROUP_N
14.   GX6256_GROUP_O
15.  GX6256_GROUP_P
pnState
SHORT
Returns the state of a bleed relay
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The Gx6256/Gx6192 switching boards contain a matrix.

The Gx6256 matrix connects the mux groups to the global bus lines.

The Gx6192 matrix connects the mux groups to the analog inputs.

Example

The following returns the state of Mux Group A bleed relay state:

 

Gx6256BleedRelayGetState(nHandle, GX6256_GROUP_A, &nState, &nStatus);

 

See Also

Gx6192/Gx6256/Gx6864MatrixClose, Gx6192/Gx6256/Gx6864MatrixOpen, GxSWGetErrorString