Where Can I Find Specific GObject Refnums?

Updated Mar 28, 2019

Reported In


  • LabVIEW
  • LabVIEW Scripting 2012

Issue Details

I received a VI that uses VI Scripting. It contains reference constants to VI Server Classes that I want to create on my own. I cannot find how to do that. I could copy& paste one reference from example code I found, however it does not even show its own class in its Context Menu!
The class shown as example in the screenshot below should be in Generic » GObject » Tunnel » ConditionalTunnel, according to the VI Server Class Hierarchy documentation. What am I doing wrong?


VI Scripting is disabled by default in a LabVIEW installation. Follow the steps in Enabling VI Scripting - LabVIEW 2018 Help to enable it.

When disabled, only Front Panel objects are accessible as shown in the screenshot in the section Issue Detail. After enabling VI Scripting, all properties, methods, and events are accessible:

Additional Information

VI Scripting is included in LabVIEW since LabVIEW 2010. It is available as an Add-On called NI Labs: LabVIEW VI Scripting for versions 8.6 and 2008.


Not Helpful