Sample Quantity >> Samples Per Channel

NI-DAQmx C Properties

Sample Quantity >> Samples Per Channel

Data Type: uInt64
Description: Specifies the number of samples to acquire or generate for each channel if Sample Mode is DAQmx_Val_FiniteSamps. If Sample Mode is DAQmx_Val_ContSamps, 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.

You can get/set/reset this property using:
  DAQmxGetSampQuantSampPerChan
  DAQmxSetSampQuantSampPerChan
  DAQmxResetSampQuantSampPerChan