Sample Quantity >> Sample Mode

NI-DAQmx C Reference Help

Edition Date: January 2019

Part Number: 370471AM-01

»View Product Info
Download Help (Windows Only)
Data Type: int32
Description: 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 DAQmx_Val_FiniteSamps even though the task runs continuously until the Reference Trigger occurs.

Valid values

DAQmx_Val_FiniteSamps 10178 Acquire or generate a finite number of samples.
DAQmx_Val_ContSamps 10123 Acquire or generate samples until you stop the task.
DAQmx_Val_HWTimedSinglePoint 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.

You can get/set/reset this property using:





Not Helpful