Sample Quantity:Samples Per Channel Property

NI-DAQmx Properties

Sample Quantity:Samples Per Channel Property

Short Name: SampQuant.SampPerChan

Property of DAQmx Timing

Specifies the number of samples to acquire or generate for each channel if SampQuant.SampMode is Finite Samples. If SampQuant.SampMode is Continuous Samples, NI-DAQmx uses this value to determine the buffer size.

To configure an analog output task to generate a finite number of cycles of a waveform, set this property to (desired number of cycles) * (number of samples per cycle).

This property affects the buffer allocation for the task.

Remarks

The following table lists the characteristics of this property.

Permissionsread/write
Resettableyes
Settable while task is runningdevice-specific
Available in Run-Time Engineyes