From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get class variable name text

Solved!
Go to solution

Hello. I am wondering if there is a way to get the name of lvclass control objects similar to how you would get the text label of other objects by reference? Property nodes don't seem to help much. You can see in the image, I would like to get the text name of the lvclass variable _string_selection. 

 

Jay14159265_0-1605890811914.png

 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 1 of 3
(1,204 Views)
Solution
Accepted by topic author Jay14159265

Kyle97330_0-1605895671352.png

It's a bit of a journey, but you can get there....  There might be an easier way, but this does it.

 

Just replace the object terminal with an instance of the actual class.  VI in 2018 attached

Message 2 of 3
(1,179 Views)

Thanks for the help! you are not kidding about the journey.

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 3 of 3
(1,165 Views)