Example Code

String to Boolean Array of LEDs

Code and Documents

Attachment

Overview

The example demonstrates how you can manipulate arrays by moving the first column of a 2D array, to the end.

Description

The user inputs a string which is then converted into a 2D array of boolean values. This is then shown as a moving message on the front panel. To achieve this, the array is manipulated by moving the first column to the end every iteration until the code is stopped.


Steps to Implement or Execute Code

  1. Run the Main VI in the project
  2. Press OK on the dialog box that appears
  3. Enter string into string control and press done

Requirements

Software

LabVIEW 2013

LabVIEW 2014

Additional Images or Video


Capture1.PNGCapture 2.PNG


Jinfone
Applications Engineer
National Instruments

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

Contributors