Gx6264ResetGroup

Purpose

Opens all channels for the specified group.

Syntax

Gx6264ResetGroup (nHandle, nGroup, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to the board.
nGroup
SHORT
Group number 0-7. Corresponds to groups A-H as follow:
0 GX6264_GROUP_A
1 GX6264_GROUP_B
2 GX6264_GROUP_C
3 GX6264_GROUP_D
4 GX6264_GROUP_E
5 GX6264_GROUP_F
6 GX6264_GROUP_G
7 GX6264_GROUP_H
pnStatus
LPSHORT
Returned status: 0 on success, negative number on failure.

Comments

The function does not open any of the universal bus relays that are connected to a group. Only the eight relays inside the scan group are opened.

Example

The following example resets group A and group D:

 

Gx6264ResetGroup(nHandle, GX6264_GROUP_A, &nStatus);

Gx6264ResetGroup(nHandle, GX6264_GROUP_D, &nStatus);

 

See Also

GxSWGetErrorString, Gx6264ConnectChannel, Gx6264Initialize.