Gx5641ResetGroup

Purpose

Resets the specified group its default settings.

Syntax

Gx5641ResetGroup (nHandle, nGroup, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5641 board.
nGroup
SHORT
Group value is as follows:
0. GX5641_GROUP0 (channels 0 to 31)
1. GX5641_GROUP1 (channels 32 to 63)
pnStatus
 
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

After calling this function the specified group’s channels will be disabled and in conversion mode of differential signal to TTL level.

Example

The following example rests group 0:

 

Gx5641ResetGroup (nHandle, GX5641_GROUP0, &nStatus);

 

See Also

Gx5641GetChannelMode, Gx5641GetGroupMode, Gx5641GetChannelOutputState, Gx5641GetGroupOutputState, Gx5641Initialize, GxPioGetErrorString