Gx6264ResetSection

Purpose

Open all relays and disconnects all buses and groups in the specified section.

Syntax

Gx6264ResetSection (nHandle, nSection, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to the board.
nSection
SHORT
Section number:
0. GX6264_SECTION0: Groups A-D
1. GX6264_SECTION1:Groups E-H
pnStatus
LPSHORT
Returned status: 0 on success, negative number on failure.

Comments

Relays in groups E-H can be open in the same manner.

Example

The following example opens all relays in groups A-D and disconnects buses X0-Y0 from groups A-D:

 

Gx6264ResetSection (nHandle, GX6264_SECTION0, pnStatus);

 

See Also

GxSWGetErrorString, Gx6264ConnectChannel, Gx6264Initialize