Sets the board acquisition settings.
CalScopeSetupAcquisition (hHandle, nChannel, lAcquireType, lAcquireCount, plStatus)
Name |
Type |
Comments |
hHandle |
LONG |
Handle for a Oscilloscope. |
nChannel |
SHORT |
Select channel (0-based). |
lAcquireType |
LONG |
Select the type of acquisition. |
lAcquireCount |
LONG |
Specify the acquisition count for repetitive acquisition modes.In Average mode, this specifies the number of waveforms to be averaged before the acquisition is complete. |
plStatus |
PLONG |
Returned status: 0 on success, negative number on failure. |
This function sets a channel’s acquisition mode.
The following example sets channel 0 acquisition settings with count of 256:
LONG lHandle, lStatus;
CalScopeSetupAcquisition (lHandle, 0, 0, 256, &lStatus);
CalScopeSetupAuto, CalScopeGetInfo, CalScopeMeasure, CalScopeReset, CalScopeSetupChannel, CalScopeSetupHorizontal, CalScopeGetError