Example Code

Programmatically Changing the Height of an Array Element Using LabVIEW

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

This code shows how to programmatically set the height of each element in an array.

 

Description

This code was developed where the height of the elements in a string array were needed to be fixed at a particular value.

  

Requirements

  • LabVIEW 2012 (or compatible) 

 

Steps to Implement or Execute Code

  1. Download the VI.
  2. Open the VI.
  3. Input values into the array
  4. Run the VI

Additional Information or References

VI Block Diagram

ChangeHeight.PNG

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

 

LabVIEW Product Marketing Engineer
National Instruments

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