Example Code

LabVIEW Embedded Module Interrupt Example

Code and Documents

Attachment

Description: This example uses an MCB 2300 ARM target and the LabVIEW Embedded Module for ARM Microcontrollers to update an LCD with an Analog Input Value. The LCD is updated when the user triggers an external interrupt. When the interrupt is triggerred the current value stored in the Analog Input global variable is written out to the LCD.  This example requires LabVIEW 2010 or later and the LabVIEW Embedded Module for ARM Microcontrollers. To run this example just open the project and run Elemental Blink Main.vi. This will compile and download the code to the ARM development board.

Main Target VI Block Diagram:

interrupt-main-bd.png

Interrupt Triggered VI Block Diagram:

interrupt-bd.png

Build Specification Interrupt Setup:

interruptsetup.png

Kevin Fort
Principal Software Engineer
NI

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors