Example Code

LabVIEW Embedded Module Serial Repeater Example

Code and Documents

Attachment

Description:  This example uses an MCB 2300 ARM target and the LabVIEW Embedded Module for ARM Microcontrollers to read and write from the serial port. Serial data is written from the host to the target and then written from the target back to the host.  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 ARM Serial Repeater Main.vi. This will compile and download the code to the ARM development board. Then run the PC Terminal Main VI to send serial data to the ARM target.

Host VI Front Panel:

serialrepeater-host-fp.png

Host VI Block Diagram:

serialrepeater-host-bd.png

Target VI Block Diagram:

serialrepeater-target.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