Gx6264Reset

Purpose

Opens all relays and disconnects all buses and groups.

Syntax

Gx6264Reset (nHandle, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to the board.
pnStatus
LPSHORT
Returned status: 0 on success, negative number on failure.

Comments

The function is normally called after calling the Gx6264Initialize function, since the initialize function will not reset the board.

Example

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

 

Gx6264Initialize (0x310, &nHandle, &nStatus);

if (nStatus < 0)

return nStatus; // return error

Gx6264Reset(nHandle, &nStatus);

 

See Also

GxSWGetErrorString, Gx6264Initialize, Gx6264ResetBus, Gx6264ResetGruop.