Analog Output Write Terminology in Traditional NI-DAQ (Legacy) and NI-DAQmx
The following table translates terms from Traditional NI-DAQ (Legacy) to NI-DAQmx for the C API and the LabVIEW API.
Traditional NI-DAQ C API | Traditional NI-DAQ LabVIEW | NI-DAQmx | Explanation |
---|---|---|---|
Voltage, Sample | Update | Sample | A single measurement generated at a single channel |
No Equivalent | Update | No Equivalent | A set of samples, one for each channel in the task |
No Equivalent | Write Mode | Relative To | Where to place the write position prior to adding the offset |
No Equivalent | Write Offset | Offset | After placing the write position, this offset is added to determine where the write takes place. All subsequent writes use this offset until the offset changes |
No Equivalent | Write Mark | Current Write Position | The place in the buffer where the next write begins if the Relative To attribute/property is Current Write Position and the Offset attribute/property is 0 |
No Equivalent | No Equivalent | Space Available in Buffer | The number of samples that can be written without overwriting a sample that has not been output |
pointsDone, itersDone | Output Mark, Buffer Iterations | Total Samples Per Channel Generated | The total number of samples that have been generated by the device since the task began |
oldDataStop | Regeneration Mode | Regeneration | The attribute/property that controls whether old data is regenerated |
partialTransfer | Regeneration Mode | No Equivalent | To stop a waveform generation after a specific number of samples are generated, set the NI-DAQmx attribute/property samples per channel to the desired number of samples. |
Iterations | Iterations | Samples per Channel | To generate a finite number of iterations of a buffer, set the samples per channel attribute/property to I × N, where I is the desired number of iterations, and N is the number of samples per channel in the buffer. |