Gx5733ModuleStep

Applies To

GX5701, GX5702, GX5704

Purpose

Run the specified port Module for given number of steps.

Syntax

Gx5733ModuleStep (nHandle, nPort, dwSteps, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX5733 board.
nPort
SHORT
Module port 0 (GX5733_PORT0) only.
dwSteps
DWORD
Returned Module’s threshold voltage. Threshold voltage range is from –12 to +12 volts with resolution of the specified number of steps to execute.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Example

The following example run port Module 0 for three steps:

 

SHORT nStatus;

 

Gx5733ModuleStep (nHandle, GX5733_PORT0, 3, &nStatus);

 

See Also

Gx5733SetInternalClock, Gx5733GetInternalClock, Gx5733ModuleGetType