To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example show how to programmatically set the origin point of subVI to a specific place in a Sub Panel
Description
This example show how to programmatically reset the origin of a called subVI, so that it loads in the same place in a Subpane every timeregardless of the window size and position when the subVI was saved. Note, the main Front panel window will default to being the "zeroth" Pane in the panes[] array (at the index array), but you can manually rearrange the panes, but by default this will work.
In this VI we reset the origin of the subVI to 0,0 so it will load in the origin at the top left corner of the sub panel. When you place controls and indicators on your subVI plan for the origin to be in the top left corner.
Requirements
LabVIEW Full Development System 2012 or compatible
Steps to Implement or Execute Code
Additional Information or References
Before and after running the VI
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange. **
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
well done sir!
can u post an earlier version Please... 8.0 would allow a greater majority to open it.
nvm
I had this exact issue and this post saved me some sweet time.
Thank you for the contribution. Nice work.