CalScopeSetupAuto

Purpose

Automatically sets the range, offset, coupling, and sample rate based on the input signal.

Syntax

CalScopeSetupAuto (hHandle, nChannel, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Oscilloscope.
nChannel
SHORT
Select channel (0-based).
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Example

The following example automatically sets the range, offset, coupling, and sample rate based on the input signal:

 

LONG   lHandle, lStatus;

 

CalScopeSetupAuto (lHandle, 0, &lStatus);

 

See Also

CalScopeGetInfo, CalScopeMeasure, CalScopeReset, CalScopeSetupAcquisition, CalScopeSetupChannel, CalScopeSetupHorizontal, CalScopeGetError