05-18-2022 11:39 AM
The VI Properties General category has the boolean option "Separate compiled code from source file". I would like to be able to set this through a script. Is that option included in the scripting nodes somewhere?
We have many projects in SVN, none of their VIs have this property set so every time a minor change is made the result is a long list of VIs being added to the change list for commit.
Solved! Go to Solution.
05-18-2022 11:50 AM
Not sure about scripting, but if you open your project, there is a project option to mark all items, it will be applied the next time they are saved. Maybe that's all you need.
05-18-2022 12:19 PM
Here is a simple VI that I put together (save in LV16)
05-18-2022 12:21 PM - edited 05-18-2022 12:23 PM
Both options are perfect. Thanks 🙂
05-18-2022 12:51 PM
@santo_13 wrote:
Here is a simple VI that I put together (save in LV16)
I am curious if there is a reason why there are two loops instead of one?
05-18-2022 01:51 PM
@altenbach wrote:
@santo_13 wrote:
Here is a simple VI that I put together (save in LV16)
I am curious if there is a reason why there are two loops instead of one?
Yes, I am ensuring all the files are loaded into memory before changing the property, thereby every VI need not spend time loading the same dependencies over and over again.
05-19-2022 06:45 AM
This setting is also available for control properties. Should it also be set there or is that just a noop.
05-19-2022 10:50 AM
@randoghsp wrote:
This setting is also available for control properties. Should it also be set there or is that just a noop.
Not obvious. You could try both and compare the size of the *.ctl file. 😄