Gx6325GroupReset

Purpose

Opens all relays of the specified group.

Syntax

Gx6325GroupReset (nHandle, nGroup, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Handle to a GX6325 board.
nGroup
SHORT
Group number: 0-2, represents group A-C
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example initializes the driver and then resets 38 relays of group A.

 

Gx6325Initilize (1, &nHandle, &nStatus);

if (nStatus < 0)

return nStatus; // return error

Gx6325GroupReset (nHandle, 0, &nStatus);

 

See Also

Gx6325Initialize, GxSWGetErrorString, Gx6325SetGroupChannels