Example Code

Set VI front panel origin to zero

Code and Documents

Attachment

When creating a user interface, the front panel (FP) starting position (shown by the FP crosshairs) can get moved about. This can be annoying and having to manually reposition the FP is a pain.

crosshairs.PNG

Luckily there is a property node "Pane>>Origin" which can be used to reposition the front panel origin programatically.

BD.PNG

Use this VI as a subVI to re-initialise all front panel panes to their default starting position when the VI runs.

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

Contributors