CalScopeSetupAcquisition

Purpose

Sets the board acquisition settings.

Syntax

CalScopeSetupAcquisition (hHandle, nChannel, lAcquireType, lAcquireCount, plStatus)

Parameters

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.

Comments

This function sets a channel’s acquisition mode.

Example

The following example sets channel 0 acquisition settings with count of 256:

 

LONG   lHandle, lStatus;

 

CalScopeSetupAcquisition (lHandle, 0, 0, 256, &lStatus);

 

See Also

CalScopeSetupAuto, CalScopeGetInfo, CalScopeMeasure, CalScopeReset, CalScopeSetupChannel, CalScopeSetupHorizontal, CalScopeGetError