Example Code

Set Front Panel Contents to Top Left Location in 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 example demonstrates moving the contents of the Front Panel to the top left area of the front panel.

This example is useful because moves all items on Front Panel to the Top Left in the Pane. Use all controls/indicators in the Front Panel and then move the scroll bar to an upper position. Running the VI moves all items to the Top Left in the Pane.

 

Description

Use VI property nodes to identify the VI and the panel, then set the position for the window (panel) and scroll bars (pane).

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Move scroll bar to a upper position
  2. Run the VI

Additional Information or References

 

 Snippet 7652.png

 

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

Regards,

Mike S
NI AE

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