LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to change the visibility of the attributes of a LabVIEW class?

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.

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

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

Message 2 of 3
(2,852 Views)

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.

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