Overview
LabVIEW Real-Time provides powerful features for programming CompactRIO hardware that allow you to create applications quickly and easily. For applications requiring the highest performance, you can customize the FPGA in CompactRIO, providing the performance and reliability of custom hardware. Watch the videos below to see examples using LabVIEW and CompactRIO to solve a variety of applications.
Table of Contents
Press the Fullscreen Toggle icon (
) to view the videos fullscreen.
Easily Monitor and Debug Your System
The NI Distributed System Manager is a central location for monitoring systems on the network and managing published data, providing you with access to real-time and historical-trend I/O values. The system manager also gives visibility into memory usage and processor load for LabVIEW Real-Time controllers.
Taking Your First Measurement
Using CompactRIO Scan Mode, you can access I/O modules directly in LabVIEW Real-Time, allowing you to build applications quickly and easily.
Using Counter, Quadrature Encoder, and Pulse-Width Modulation Functionality
CompactRIO Scan Mode adds counter, quadrature encoder, and pulse-width modulation (PWM) functionality to any existing eight-channel digital NI C Series module without requiring any programming. You configure these specialty digital functions from the LabVIEW Project, but they run on the FPGA for accuracy and speed. Now, without compiling, you can perform up to 1 MHz edge counting, pulse-width and frequency measurements, quadrature decoding, and PWM control.
Debugging with I/O Forcing
CompactRIO Scan Mode provides I/O forcing, which is a debugging tool you can use to override the value of an I/O variable without stopping or changing your real-time application. You can force inputs to test the response of your application without a physical stimulus, as well as force outputs to override program output values. You can force channel values using the system manager or with I/O forcing VIs in LabVIEW Real-Time.
Creating Custom Hardware with LabVIEW FPGA for High-Performance Applications
With LabVIEW Real-Time 8.6 or later, you can access each module in CompactRIO Scan Mode or LabVIEW FPGA. Using LabVIEW FPGA, you can implement custom triggering, offload analysis and signal processing from the CPU, and perform high-speed analog acquisitions at nearly 1MHz. To use I/O modules in LabVIEW FPGA Mode, simply drag the module to the FPGA target in the LabVIEW Project, removing it from scan mode. Then use LabVIEW FPGA to program the modules and use I/O variables to read and write I/O on the remaining modules
Additional Resources
Learn the basics of graphical programming. Download LabVIEW
Build your NI CompactRIO system
White Paper: Using NI CompactRIO Scan Mode with NI LabVIEW Software
Reader Comments | Submit a comment »
Legal
This tutorial (this "tutorial") was developed by National Instruments ("NI"). Although technical support of this tutorial may be made available by National Instruments, the content in this tutorial may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this content with each new revision of related products and drivers. THIS TUTORIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
