GtDio6xReset

Applies To

GX5296, GX5961, GX5964, File

Purpose

Performs a domain wide global reset.

Syntax

GtDio6xReset (nHandle, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Session identifier:

     Board handle is used when communicating with the hardware. The Board handle session identifier is returned by calling GtDio6xInitialize or GtDio6xSetupInitialization.

     File handle is used when communicating with a file. The File handle session identifier is  returned by calling GtDio6xFileOpen.

pnStatus
PSHORT
Returned status: 0 on success, negative value on failure.

Comments

The function causes all boards in the domain to reset. The sequencer will reset to the RESET state (refer to the Sequencer State Machine diagram). The RESET state causes the sequencer to continuously loop on the first vector assigned to Step 0. The reset sets the pin electronics and the sequencer to the power up defaults settings.

The following describe the defaults' settings:

     Active Timer is reset to 0 Seconds.

     Stop Execution of the sequencer.

     Delete all sequences.

     Reset pin electronics to power up state.

     Disconnect I/O channels (open isolation relays).

     Burst Count is set to 1.

     VoH is set to 5.0 V.

     VoL is set to 0.0 V.

     ViH is set to 3.0 V.

     ViL is set to 2.0 V.

     Slew Rate is set to 0.2 V/ns.

     Capture Mode is set to None.

     Input Load is set to Off.

     Pull Up and Pull Down resistive loads are set to Off.

     VCom Hi and VCom Lo are set to 2.0 V.

     All Channels are disconnected.

     Output Impedance is set to 50 Ohm.

     Channel Phase group is set to Group 1.

     Channel Window group is set to Group 1.

     Channel Data Format is set to Non-Return (NRET).

Note: that the data vector memory and power connect state are not modified during a reset.

Example

The following example resets the domain:

 

SHORT nStatus;

 

GtDio6xReset (nHandle, &nStatus);

 

See Also

GtDio6xInitialize, GtDio6xGetErrorString