ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Private Class Data from Context Help?

Solved!
Go to solution

Let's say I have a class.  And its public methods will be part of a customer-facing API.

 

Is there any way to hide its private data from Context Help?  There's no reason any end-user should see this...

_carl_0-1675709003447.png

 

Message 1 of 4
(1,983 Views)
Solution
Accepted by topic author _carl

The private data will be hidden if you set the class to "Locked" in the class properties.

Message 2 of 4
(1,914 Views)

Oh wow, yep, it's that easy! And went unnoticed because I'd unlocked the VIs... Many thanks!

0 Kudos
Message 3 of 4
(1,902 Views)

I've never had the need to hide the object contents, but I did NOT know about this..... nice. My daily learning quota is already filled and I haven't even finished my second coffee....

0 Kudos
Message 4 of 4
(1,760 Views)