niHSDIO_ConfigureAcquisitionSize

NI Digital Waveform Generator/Analyzer

niHSDIO_ConfigureAcquisitionSize

Specific Function

C Function Prototype

ViStatus niHSDIO_ConfigureAcquisitionSize (ViSession vi, ViInt32 samplesPerRecord, ViInt32 numberOfRecords);

Purpose

Configures the acquisition size, including the number of acquired records and the minimum record size.

Parameters

Name Type Description
vi ViSession This handle identifies your instrument session. vi was obtained from niHSDIO_InitAcquisitionSession.
samplesPerRecord ViInt32 Sets the number of samples to be acquired per record. If you need pretrigger and post-rigger points, configure a Reference trigger and specify the number of pretrigger points.

Default Value: 1000
numberOfRecords ViInt32 Sets how many records are acquired.

Default Value: 1

Return Value