From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Remove ".lvclass" from class property node

Solved!
Go to solution

I have a class with data accessors as property node. Each property node has the full name of the class, including the ".lvclass" part. I think this is unneccesary as you are already passing in a wire associated with a class. Like this:

Basjong53_0-1643627905035.png

The property node is a lot smaller now, making the code cleaner.

 

I know you select "No name", but that remove all lables entirely. I'd prefer a middle-ground. Is there an optiont that let's me do this?

 

0 Kudos
Message 1 of 3
(1,065 Views)
Solution
Accepted by topic author Basjong53

Hi Basjong,

 

If you go into the class properties and documentation tab then you will find a Localized Name option. This is what gets displayed on property nodes so if you remove the .lvclass extension there, it will also be removed on the property nodes.

 

Cheers,

James

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
Message 2 of 3
(1,063 Views)

Wow, so simple! I can't believe I've missed that. I even looked through the class properties...

 

Thanks a lot!

0 Kudos
Message 3 of 3
(1,054 Views)