キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Script VI Properties Separate Compile Code option

解決済み
解決策を見る

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.

0 件の賞賛
メッセージ1/8
2,024件の閲覧回数
解決策
受理者 randoghsp

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.

 

altenbach_0-1652892595383.png

 

0 件の賞賛
メッセージ2/8
2,018件の閲覧回数
解決策
受理者 randoghsp

Here is a simple VI that I put together (save in LV16)

santo_13_0-1652894361099.png

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 件の賞賛
メッセージ3/8
2,006件の閲覧回数

Both options are perfect.  Thanks 🙂

0 件の賞賛
メッセージ4/8
1,999件の閲覧回数

@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?

0 件の賞賛
メッセージ5/8
1,985件の閲覧回数

@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.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
メッセージ6/8
1,966件の閲覧回数

This setting is also available for control properties.  Should it also be set there or is that just a noop.

0 件の賞賛
メッセージ7/8
1,940件の閲覧回数

@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. 😄

0 件の賞賛
メッセージ8/8
1,920件の閲覧回数