CalScopeSetupHorizontal

Purpose

Configure the horizontal and time base settings.

Syntax

CalScopeSetupHorizontal (hHandle, nChannel, dFrequency, plStatus)

Parameters

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

Comments

The function configures the horizontal and time base settings based of the expected waveform’s frequency.

Example

The following example sets channel 0 horizontal and time base settings for a 1MHz waveform:

 

LONG   lHandle, lStatus;

 

CalScopeSetupHorizontal (lHandle, 0, 1e6, &lStatus);

 

See Also

CalScopeSetupAuto, CalScopeGetInfo, CalScopeMeasure, CalScopeReset, CalScopeSetupAcquisition, CalScopeSetupChannel, CalScopeGetError