To download NI software, including the products shown below, visit ni.com/downloads.
Overview
The example demonstrates how to toggle the Real-Time user LED at a user-defined interval.
Description
With the 'NI_Real-Time Target Support.lvlib:RT LEDs.vi' function the user can access one or multiple (depending on the hardware) LEDs. The LED can have either a single color (default: green) or an additional color (default: yellow). With the LED(s) and LED color(s) the Real-Time target can indicate a certain device state without the need for a Graphical User Interface (GUI).
In this example a single-color LED is toggled at a user-defined interval.
The following link shows an example blinking the FPGA LED with a FPGA VI:
https://forums.ni.com/t5/Example-Programs/Blink-LED-on-a-cRIO-Target/ta-p/3526764
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.