It’s a best practice to separate high-priority DAQ from presenting or logging the data. This minimizes jitter and allows your Timed Loop to run with “real-time” performance, meaning that it always finishes on time. By running tasks in separate loops at distinct rates, you maximize CPU efficiency by executing each task only as often as necessary. In the low-priority loop, you pull data from the shared variable buffer to not only display on the user interface but also log to disk.
Note: You can also write to connected USB or SD Card storage entering the file path as the U: drive.
Your basic acquisition, analysis, and logging application is now complete. Once you connect to CompactRIO hardware, you can run the code on the target.
In addition to FPGA access to I/O modules, it is also possible to combine FPGA programming with other programming approaches in new NI embedded devices. CompactRIO with NI-DAQmx is the latest addition to the CompactRIO Controller family. It brings two software experiences into one by combining the ease of use of NI-DAQmx and the low-level functionality of LabVIEW FPGA. Connect to any sensor on any bus with 100+ C Series modules; modular I/O with built-in signal conditioning and high accuracy A/D converters.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.