02-22-2016 02:29 PM
Hi, Is it possible to change the visibility of the attributes of a LabVIEW class?, that is to say, a variable can be private, public or protected? if so, how is the visibility of a variable is changed? Thanks.
02-22-2016 02:43 PM - edited 02-22-2016 02:44 PM
[EDITED for clarity]
There are no "variables" in LabVIEW. Have you looked at LabVIEW classes? All data in a LabVIEW class is private to that specific class and can be accessed outside class members only through methods. You can change the visibility or scope of a method in the class properties - right-click the class, choose Properties, then Item Settings.
02-22-2016 04:27 PM
indeed I saw the data in a LabVIEW class is private to that specific class, but wanted to access data from a child class without having to define access through methods, so I want to change the visibility of the data, but as you say, you can not. Thanks.