NI-DAQ™mx C Reference

Regeneration Mode

Data Type: int32
Description: Specifies whether to allow NI-DAQmx to generate the same data multiple times.

Valid values

DAQmx_Val_AllowRegen 10097 Allow NI-DAQmx to regenerate samples that the device previously generated. When you choose this value, the write marker returns to the beginning of the buffer after the device generates all samples currently in the buffer.
DAQmx_Val_DoNotAllowRegen 10158 Do not allow NI-DAQmx to regenerate samples the device previously generated. When you choose this value, NI-DAQmx waits for you to write more samples to the buffer or until the timeout expires.


You can get/set/reset this property using:
  DAQmxGetWriteRegenMode
  DAQmxSetWriteRegenMode
  DAQmxResetWriteRegenMode

Log in to get a better experience