|NI-DAQmx 18.6 Help|
|NI-DAQmx 19.0 Help|
|NI-DAQmx 19.1 Help|
|NI-DAQmx 19.5 Help|
RestrictionsRead, process, and write operations are confined to the amount of time available between the moment the device starts acquiring data and the moment the next sample clock edge arrives.
An example of this kind of application is an analog control loop that reads samples from a specific number of analog input channels, processes the data using a control algorithm (such as PID), and writes the new control values to the analog output channels. The application uses a real-time FIFO to stop the control loop based on a Boolean value provided by a lower-priority process. A similar approach can employ the use of real-time FIFOs to vary the PID parameters on the fly, or to transfer acquired and control output values to lower-priority processes for data logging and remote monitoring.
|Note Although this example is written for LabVIEW users, the principles apply if you are using another ADE, such as LabWindows/CVI.|
Sample Block Diagram