IviScope_ConfigureAcquisitionRecord

CVI/LabWindows IVI Class Driver

IviScope_ConfigureAcquisitionRecord

IviScopeBase Capability Group

C Function Prototype

ViStatus IviScope_ConfigureAcquisitionRecord (ViSession vi, ViReal64 timePerRecord, ViInt32 minNumPts, ViReal64 acqStartTime);

Purpose

This function configures the most commonly configured attributes of the oscilloscope acquisition subsystem. These attributes are the time per record, minimum record length, and acquisition start time.

Parameters

Name Type Description
vi ViSession The instrument handle that you obtain from the IviScope_init or IviScope_InitWithOptions functions. The handle identifies a particular IVI session.
timePer Record ViReal64 Specifies the time per record. The driver uses this value to set the IVISCOPE_ATTR_HORZ_TIME_PER_RECORD attribute.
minNumPts ViInt32 Specifies the minimum number of points you allow in the waveform recorded. The driver uses this value to set the IVISCOPE_ATTR_HORZ_MIN_NUM_PTS attribute.
acqStart Time ViReal64 Specifies the position of the first point in the waveform record relative to the trigger event. The driver uses this value to set the IVISCOPE_ATTR_ACQUISITION_START_TIME attribute.

Return Values