Regeneration Mode Property
- Updated2023-02-21
- 1 minute(s) read
Short Name: RegenMode
Property of DAQmx Write
Specifies whether to allow NI-DAQmx to generate the same data multiple times.
If you enable regeneration and write new data to the buffer, NI-DAQmx can generate a combination of old and new data, a phenomenon called glitching.
Allow Regeneration (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. |
Do Not Allow Regeneration (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. |
Remarks
The following table lists the characteristics of this property.
Permissions | read/write |
Resettable | yes |
Settable while task is running | device-specific |
Available in Run-Time Engine | yes |