Example Code

Parsing a 2D Numeric Array

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

Parsing the Nth and its respective multiple rows of a 2D Array.

 

Description

In this piece of code, a 2D numeric array is parsed by removing the Nth element and its multiples in the array. For example, if the parsing number is 4, the VI will remove the 1st, 4th after it, and so on until it reaches the end of the array.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code 
1. Select the parsing number.
2. Run the VI.

 

Additional Information or References

Snippet.png


Jim St
National Instruments
RF Product Support Engineer

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