11-13-2013 05:13 PM
When parent VI is going to recompile itself due to changes in child VI, and when it is not?
11-13-2013
05:23 PM
- last edited on
05-19-2025
04:05 PM
by
Content Cleaner
@MimiKLM wrote:
When parent VI is going to recompile itself due to changes in child VI, and when it is not?
Look here. it was the second hit on a google search using this term: labview when does vi recompile
11-14-2013 02:03 AM
To add "why":
The compiled code also contains a section called "inplaceness information". This section tells the caller (parent VI) if a parameter can be passed by reference (no copy) or by value (copy).
If changes in the subVIs can effect the way parameters are handled, the caller has to re-evaluate the inplaceness info, hence, it has to re-compile.
Norbert
11-14-2013
04:37 AM
- last edited on
05-19-2025
04:05 PM
by
Content Cleaner
Another thing just coming up in my mind:
If it is of concern for you that re-compilation of the caller (parent) changes the .vi-file so it has to be saved on disk again, you should use the option to separate compiled code from the vi-file.
Norbert