Example Code

Read Front Panel Location from an Initialization file 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 vi will read size and location values of a front panel from an initialization file then move the front panel to that location and size.

 

Description

This vi will read size and location values of a front panel from an initialization file then move the front panel to that location and size. Meant to be accompanied with

https://decibel.ni.com/content/docs/DOC-36155

 

Requirements

  • LabVIEW 2013 (or compatible)

 

Steps to Implement or Execute Code

  1. Put the FrontPanelResize.ini file in the same directory with this VI, make sure it has correct content.
  2. Fill in the path of the VI to resize in the file path constant on the block diagram.
  3. Run the VI.

 

Additional Information or References

VI Snippet of Block Diagram

snip.png

 

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

 

Applications/Systems/Test
National Instruments | AWR Group

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