NI-DAQ™mx C Reference

Sample Quantity >> Sample Mode

Data Type: int32
Description: Specifies if a task acquires or generates a finite number of samples or if it continuously acquires or generates samples.

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:
  DAQmxGetSampQuantSampMode
  DAQmxSetSampQuantSampMode
  DAQmxResetSampQuantSampMode

Log in to get a better experience