LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I hide a subvi in the hierarchy window?

I want to hide a subvi of my top level vi in the hierarchy window. I know by calling it dynamically that it won't be in the hierarchy window until it is called but I want to keep it in the hierarchy. I just don't want to display it in the hierarchy window when a user looks at it. Kinda like an easter egg or like the multitude of vi's that NI hides. Can anyone give me a solution?
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 1 of 2
(2,867 Views)
This is from the 1/14/03 info-labview digest:

"
Hi, Tim

As you know, to distinguish between public and private methods, GOOP uses the LLB-top-level flag. Public methods are top-level and private method are non-top level.

But GOOP does one more thing with private method VIs. They are checked as "System VI", a property which make them invisible in the VI hierarchy and in the "VIs in Memory" application property, unless their panels are open. You can upgrade to the new GOOP wizard, downloadable from http://www.endevo.com/default.asp?lang=eng. It doesn't check VIs as system VIs. It is compatible backwards, so perhaps you can "repair" your existing GOOP objects if you use the new wizard, but I'm not sure. S
ince you can store objects in both directories and in LLBs with the new wizard, perhaps it helps to convert from LLB to directory and back to LLB again.

If the above doesn't work, you can use these two VIs to uncheck the "System VI" property:

1) C:\PROGRAM\National Instruments\LabVIEW 6\project\goopwiz.llb\Hide System VIs.vi
2) C:\PROGRAM\National Instruments\LabVIEW 6\vi.lib\utility\libraryn.llb\Librarian List.vi

Use (2) to create a list of VIs in your GOOP object LLB. Then loop through all the VIs and use (1) to uncheck the property.

If you want to read more about this, you can search for the string "Invisible VI ?!?" in http://www.searchview.net/, during 2001, in the info-labview archives. Then read the postings with the subject "Invisible VI ?!?".


Hope this was helpful!

Andreas
"
Message 2 of 2
(2,867 Views)