LED PWM API for myRIO by Darin Kinion Individual Brightness Control for myRIO Onboard LEDs

  • Increase the amount of information displayed by the onboard LEDs
  • Create dynamic visual displays on myRIO
  • Compatible with myRIO Express VIs; adjust brightness and control the on/off states as usual
  • Adds to the default FPGA personality; no code changes required
  • Project template provided
  • Reduce eye strain from bright blue LEDs
  • Download
The LED PWM API for myRIO by Darin Kinion extends the FPGA personality of myRIO to allow individual brightness control of onboard LEDs. Simple pulse-width modulation switches the LEDs on and off more quickly than the human eye can discern. Using this API with code on myRIO real-time targets produces perceptible flashing/throbbing of the LED, but the FPGA speed allows you to see the average light level. Functions include getting/setting brightness or the state for one or all of the onboard LEDs, and convenience functions to combine these settings into a single subVI.

With the reintroduction of an analog component to the digital realm, brightness control increases the amount of conveyed information. Instead of indicating 16 different distinct states, adding a brightness component adds richness to the display. A stark blinking LED can be replaced by a more pleasing ramp, and busy indicators can be more interesting. Example lighting effects, including waves and ramps, are provided.

Support Information
This add-on software requires LabVIEW software installed with myRIO hardware and software.

This software is provided and supported by Darin Kinion and not by NI. For technical support, email darin@alum.mit.edu.

For additional support options with this add-on software, view “myRIO Software Requirements Documentation” and “myRIO Forum” under the Resources tab.

Disclaimer: The Third-Party Add-Ons for LabVIEW on this page are offered by independent third-party providers who are solely responsible for such products. NI shall have no responsibility whatsoever for the performance of the Third-Party Add-Ons. The sale of these Third-Party Add-Ons is subject to the Terms and Conditions of Sale of the third-party provider. For important information regarding the sale of Third-Party Add-Ons and application Terms and Conditions of Sale, refer to ni.com/tpp.