Example Code

Programmatically Keep a Front Panel Object in the Same Location with Respect to the Monitor

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

Download All

Overview

Maintain a boolean indicator on the original place while moving the front panel.

 

Description

This code exemplifies how to programmatically maintain a component of the front panel in their original place.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Run the VI
2. Move the front panel through the screen

 

Additional Information or References

Capture.PNG

Hope this helps.
-Ben

WaterlooLabs

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