From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-07-2006 01:36 PM
07-08-2006 04:06 PM
Hi,
The front panel of the subVI will be loaded into memory regardless of whether you use any of the VI front panel controls.
See Front Panel Property in the LabVIEW Help.
Regards
Ray Farmer
07-10-2006 06:20 AM
Hi there,
the FP of the Sub-VI is NOT loaded into memory as long as you don't need any controls on the FP during runtime. i created a Top-level and a Sub-VI as you described (see attachment). when building an executable you can remove the FP of the Sub-VI from the exe and it will still work.
07-10-2006 07:38 AM
Hi,
Thats true, but if you use a node in the subVI, then it will probably load the front panel of the subVI,
for the labview help manual
"
The VI also loads the code and data space of its subVIs into memory. Under certain circumstances, the front panel of some subVIs might be loaded into memory as well. For example, this can occur if the subVI uses Property Nodes, because Property Nodes manipulate state information for front panel controls.
"
Because one of the controls is a reference to a control on the front panel you probably will use a Property Node in the subVI.
Regards
Ray Farmer
07-10-2006 08:14 AM
hi there
"..For example, this can occur if the subVI uses Property Nodes, because Property Nodes manipulate state information for front panel controls..."
i think that's true for the front panel that holds the control from which you call properties. the sub-VI calls a property of the control on the Top-Level, NOT of the reference control on the FP of the Sub-VI. rename the executable i posted in the zipfile to *.llb and open it in explorer. then open the Sub-VI and you'll see that the FP is not part of the executable anymore. so it can't be loaded at all.
if you call a property of the reference control you can't remove the frontpanel in the VI-settings any more (see attachment), because now you refer to a control of the Sub-VIs FP.
07-10-2006 09:11 PM