Sample Quantity:Sample Mode Property

NI-DAQmx Properties

Sample Quantity:Sample Mode Property

Short Name: SampQuant.SampMode

Property of DAQmx Timing

Specifies if a task acquires or generates a finite number of samples or if it continuously acquires or generates samples.

For an analog input task with a Reference Trigger, you must set this property to Finite Samples even though the task runs continuously until the Reference Trigger occurs.

Continuous Samples (10123) Acquire or generate samples until you stop the task.
Finite Samples (10178) Acquire or generate a finite number of samples.
Hardware Timed Single Point (12522) Acquire or generate samples continuously using hardware timing without a buffer. Hardware timed single point sample mode is supported only for the sample clock and change detection timing types.

Remarks

The following table lists the characteristics of this property.

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