Sets the selected channel state.
CalScopeSetupChannelState (hHandle, nChannel, lState, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for an Oscilloscope. |
nChannel |
SHORT |
Select channel (0-based). |
lState |
LONG |
Set the channel’s state:0. Off1. On |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
The following example sets channel 0 state to ON:
LONG lHandle, lStatus;
CalScopeSetupChannelState (lHandle, 0, 1, &lStatus);
CalScopeSetupAuto, CalScopeGetInfo, CalScopeMeasure, CalScopeReset, CalScopeSetupAcquisition, CalScopeSetupHorizontal, CalScopeGetError