Gx6192/Gx6256/Gx6864MuxClose

Purpose

Closes a Mux path

Syntax

Gx6256MuxClose (nHandle, nMuxGroup, nChannel, nPath, nMuxMode, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6192/GX6256/GX6864 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  
nChannel
SHORT
Channel numbers are 0-15 for GX6256 and 0-11 for GX6192
nPath
SHORT
Mux Paths are (Only applicable to GX6256):
0.      GX6256_PATH_PRIMARY: The primary path is used to make the connection
1.    GX6256_PATH_SECONDARY: The secondary path is used to make the connection
nMuaMode
SHORT
Mux connection modes are:
0.     GX6256_MUX_MODE_SINGLE_CONNECTION: Only one mux channel can be closed at a time
1.   GX6256_MUX_MODE_MULTI_CONNECTION: Multiple mux channels can be closed at the same time
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The GX6256 has two paths, primary and secondary, from mux channels to mux selector.

Example

The following example closes the channel 5 in Mux Group B using the primary path and multiple connection mode:

 

Gx6256MuxClose(nHandle, GX6256_GROUP_A, 5, GX6256_PATH_PRIMARY, GX6256_MUX_MODE_MULTI_CONNECTION, &nStatus);

 

See Also

Gx6256MuxGetChannel, Gx6192/Gx6256/Gx6864MuxOpen, GxSWGetErrorString