Example Code

Dynamic Text in the LCD of my MCB2300 Using LabVIEW Embedded for ARM

Code and Documents

Attachment

Introduction

This example is used to demonstrate some capabilities of the LabVIEW Embedded for ARM Microcontrollers Evaluation Kit.

1. It's shown how to write Static Text on the first line and dynamic text on the second line of the LCD (counting from 0 to 255)

2. The 8 LEDs are turned on according to that count (binary representation)

3. The potentiometer is read as Analog Input 0 and is used to set the time delay of the While loop.

4. You can stop the VI either using the proper button in Front Panel or pressing the INT0 button on the evaluation board.

fp.JPG

Steps to Complete

1. Open the project

2. Verify that the Analog Input is present, if notfollow this steps:

      2.1 Right-click the MCB2300 target on the Project Explorer window

      2.2 select New>Elemental I/O

      2.3 expand Analog Input and click on AI0 then clic the Add--> button

      2.4 click Ok

      2.5 drag the AI0 node from the Project Explorer Window to the Bloc Diagram and wire it as shown in the image

bd.JPG

Caveats

* LabVIEW 8.6

* You need LabVIEW Embedded for ARM Microcontrollers Evaluation Kit (MCB 2300 board)

Arturo Gómez | Applications Engineering
Certified LabVIEW Associated Developer

National Instruments Latin America
01-800-010-0793
ni.com/support

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

Contributors