Single Sample Digital Output Programming Flowchart

NI-DAQ™mx Help

Edition Date: November 2018

Part Number: 370466AG-01

»View Product Info
Download Help (Windows Only)

Generating a single sample is an on-demand operation. In other words, NI-DAQmx generates one value on an output channel immediately after the Write function/VI is called. This operation does not require any buffering or hardware timing.

With NI-DAQmx, you also can generate samples from multiple channels. If you prefer, you can configure a task for generating a single sample using the DAQ Assistant.

Tip  To increase performance, especially when multiple samples are written, include the Start function/VI and Stop function/VI in your application. In the preceding flowchart, the Start function/VI would come just before you write samples, and Stop would come just before you clear the task.


Not Helpful