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.

Remarks

The following table lists the characteristics of this property.

Short Name SampQuant.SampMode
Data type ci32.png
Permissions Read/Write
Resettable True
Settable While Task Is Running device-specific
Available in Run-Time Engine True
Finite Samples 10178
Acquire or generate a finite number of samples.
Continuous Samples 10123
Acquire or generate samples until you stop the task.
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.