CalScopeSetupChannel

Purpose

Configures the selected channel settings.

Syntax

CalScopeSetupChannel (hHandle, nChannel, dAmplitude, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for a Oscilloscope.
nChannel
SHORT
Select channel (0-based).
dAmplitude
DOUBLE
Set the full scale acquisition range in volts for the specified input channel.
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

The function configures the selected channel settings including the input amplitude.

Example

The following example sets channel 0 with 10V peak-to-peak:

 

LONG   lHandle, lStatus;

 

CalScopeSetupChannel (lHandle, 0, 10, &lStatus);

 

See Also

CalScopeSetupAuto, CalScopeGetInfo, CalScopeMeasure, CalScopeReset, CalScopeSetupAcquisition, CalScopeSetupHorizontal, CalScopeGetError