NI-DAQmx 7.4 and Later Single-Point Real-Time Applications

This section contains sample applications that demonstrate new functionality introduced with the release NI-DAQmx 7.4. This functionality provides increased flexibility when performing hardware-timed single-point operations on real-time platforms.

The applications are based on requirements common to real-time applications using single-point NI-DAQmx tasks. These samples are drawn from a basic set of example implementations meant to aid in the design of more complex applications. The examples pertain to control applications but are applicable to other single-point applications such as hardware-in-the-loop, event response tasks, and in-line signal manipulation.

Each application case contains a proposed solution that describes the use of the new features in NI-DAQmx 7.4, as well as a specific application example, a timing diagram, and a LabVIEW block diagram. Each application case also contains notes with advanced information to clarify implementation details, optimizations, and error conditions.

Among the new features introduced in NI-DAQmx 7.4 is the Wait For Next Sample Clock (WFNSC) VI, which guarantees tight synchronization between the hardware layer and the software layers when performing hardware-timed single-point tasks. This VI provides an accurate way to correlate block diagram execution to hardware signals, such as the sample clock for the given task, while at the same time providing feedback on the overall real-time execution of the control loop.

The following sections present common control applications using NI-DAQmx 7.4 and later: