Programming the FPGA LED on a CompactRIO Chassis or sbRIO Device

You can use the FPGA LED to help debug your application or easily retrieve application status. Complete the following steps to configure the FPGA LED.
  1. Configure a project for the MXIe-RIO system.
  2. Make sure the FPGA LED I/O item is added to the MXIe-RIO system.
  3. Right-click the FPGA target in the Project Explorer window and select New»VIto add a new VI to the system.
  4. Place an FPGA I/O Node on the block diagram of the VI.
  5. Click the element section of the FPGA I/O Node and select Chassis I/O (or Onboard I/O)»FPGA LED.
  6. Right-click the FPGA LED input of the FPGA I/O Node and select Create»Control.
    When FPGA LED is TRUE, the FPGA LED is lit. When FPGA LED is FALSE, the FPGA LED is off.
Refer to the 915x Switches and LEDs VI in the labview\examples\CompactRIO\Chassis Specific\915x Switches and LEDs\915x Switches and LEDs.lvproj for an example of programming the USER FPGA LEDs.

Programming the FPGA LED on a MXIe-RIO Chassis

The MXIe-RIO reconfigurable embedded chassis has bi-color FPGA LEDs. Use the FPGA LEDs to help debug your application or to retrieve the application status. Complete the following steps to configure the FPGA LEDs.
  1. Configure a project for the MXIe-RIO system.
  2. Make sure the USER FPGA LED I/O item is added to the MXIe-RIO system.
  3. Right-click the FPGA target in the Project Explorer window and select New»VIto add a new VI to the MXIe-RIO system.
  4. Place an FPGA I/O Node on the block diagram of the VI.
  5. Click the element section of the FPGA I/O Node and select Chassis I/O»USER FPGA1 LED. USER FGPA2 LED and USER FGPA3 LED function the same as USER FPGA1 LED.
  6. Right-click the USER FPGA1 LED input of the FPGA I/O Node and select Create»Control. When USER FPGA1 LED is 0, the USER FPGA1 LED is off. When USER FPGA1 LED is 1, the USER FPGA1 LED is lit green. When USER FPGA1 LED is 2, the USER FPGA1 LED is lit yellow.
    Note   Values other than 0, 1, and 2 are ignored and return an error. You must wire the Error Out terminal of the FPGA I/O Node to receive the error notification.
Refer to the 915x Switches and LEDs VI in the labview\examples\CompactRIO\Chassis Specific\915x Switches and LEDs\915x Switches and LEDs.lvproj for an example of programming the USER FPGA LEDs.