CalScopeSetupChannelState

Purpose

Sets the selected channel state.

Syntax

CalScopeSetupChannelState (hHandle, nChannel, lState, plStatus)

Parameters

Name
Type
Comments
hHandle
LONG
Handle for an Oscilloscope.
nChannel
SHORT
Select channel (0-based).
lState
LONG
Set the channel’s state:
0.     Off
1.   On
plStatus
PLONG
Returned status: 0 on success, negative number on failure.

Comments

Example

The following example sets channel 0 state to ON:

 

LONG   lHandle, lStatus;

 

CalScopeSetupChannelState (lHandle, 0, 1, &lStatus);

 

See Also

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