Automatically sets the range, offset, coupling, and sample rate based on the input signal.
CalScopeSetupAuto (hHandle, nChannel, plStatus)
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. |
The following example automatically sets the range, offset, coupling, and sample rate based on the input signal:
LONG lHandle, lStatus;
CalScopeSetupAuto (lHandle, 0, &lStatus);
CalScopeGetInfo, CalScopeMeasure, CalScopeReset, CalScopeSetupAcquisition, CalScopeSetupChannel, CalScopeSetupHorizontal, CalScopeGetError