Example Programs

Showing results for 
Search instead for 
Did you mean: 

Parse String using LabVIEW

Parsing strings is useful in a wide array of applications, coming in especially handy when doing serial communication.  This example demonstrates how to parse a string based on a specific parsing expression.

The code takes an input string broken up by an expression (like a comma), and returns in an array all of the values between occurrences of that expression.


  1. Specify the Input String to be parsed.
  2. Specify the Parsing Expression.
  3. Run the VI
  4. View the Output String



LabVIEW 2012


Steps to Implement or Execute Code

  1. Download the .zip file
  2. Set your desired configuration (a, x1, x2, degrees, etc)
  3. Run the VI


Additional Information or References
VI Block Diagram


 **This document has been updated to meet the current required format for the NI Code Exchange.**

Andy G
Applications Engineering
National Instruments