Gx6192/Gx6256/Gx6864Reset

Purpose

Opens all the board relays.

Syntax

Gx6256Reset (nHandle, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6256/GX6864/GX6192 board.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

This function opens all Mux and Matrix relays. If an RTM or SR is connected to the board, then the relays on those devices are also opened.

Example

The following example initializes the driver and then resets the board.

 

Gx6256Initilize (10, FALSE, &nHandle, &nStatus);

if (nStatus < 0)

    return nStatus;    // return error

Gx6256Reset (nHandle, &nStatus);

 

See Also

Gx6192/Gx6256/Gx6864Initialize, GxSWGetErrorString