Gx5642ResetGroup

Purpose

Resets the specified group its default settings.

Syntax

Gx5642ResetGroup (nHandle, nGroup, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5642 board.
nGroup
SHORT
Group value is as follows:
0. GX5642_GROUP0 (channels 0 to 31)
1. GX5642_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:

 

Gx5642ResetGroup (nHandle, GX5642_GROUP0, &nStatus);

 

See Also

Gx5642GetChannelMode, Gx5642GetGroupMode, Gx5642GetChannelOutputState, Gx5642GetGroupOutputState, Gx5642Initialize, GxPioGetErrorString