Example Code

Convert String of Numbers to Array and Waveform

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

Coding that demonstrates how to take a string of numbers and how to convert them to an array and waveform.

 

Description

There are times when we need to obtain values out from a string in order to graph, store, or analyze them. In this example we show how this can be done with a simple graph and array indicators that prompts the values.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Run the VI
2. Change the values in the string control
3. Run the VI again, and see how the Array and graph gets updated


Additional Information or References

Snippet.png

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com

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