LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why "Preallocated Clone Reentrant Execution" and "Inline subVI into calling VIs" are set as default when a new getter of setter of a class is created

Hi all,

when I create a getter or setter of a class, execution properties of the new VI are set as follow (by default):

 

2016-06-15_111914.png

 

Often, I have to create a lot of getter and setter methods of my classes. So, I have to change execution properties VI by VI. Is there a way to change the default execution properties?

Note 1: when I create a new method of a class (not a setter or getter), execution properties are "normal": Non-reentrant execution and Inline calling is unchecked.

Note 2: I use LabVIEw 2014

 

 

 

 

0 Kudos
Message 1 of 2
(3,621 Views)

Hard to read the minds of the LabVIEW Development Team, but given that Getters and Setters of standard Classes are (a) fairly common in LVOOP code, (b) very simple (basically a bundle/unbundle from Cluster), and (c) potentially callable from multiple parallel VIs, they may have made the decision to "by default, let's produce code that is as efficient, quick, and unobtrusive as possible", hence set the defaults that you noticed.

 

Why would you want to change it?

 

Bob Schor

0 Kudos
Message 2 of 2
(3,605 Views)