LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the value fo the class member?

How can i set the value of the class member in different objects?
0 Kudos
Message 1 of 2
(2,163 Views)
All members of a class in labview are private, meaning you can only access them from inside a dynamic VI.

Add a new Dynamic VI called "Setvalue" to the class, with the value as an input. Inside the dynamic VI, wire the input control to a Bundle By Name and use it to set the member value. Inside the dynamic VI, the class sure behaves like a cluster.

Hope that helps.

0 Kudos
Message 2 of 2
(2,144 Views)