Sample Quantity >> Samples Per Channel

NI-DAQmx C Reference Help

Edition Date: January 2019

Part Number: 370471AM-01

»View Product Info
Download Help (Windows Only)
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

WAS THIS ARTICLE HELPFUL?

Not Helpful