» Creating a Development Tool » Integrating into the LabVIEW Menus » Get VI Information
Integrating into the LabVIEW Menus illustrates how custom menu items can be created in LabVIEW. Many times, it is advantageous for a custom menu item to see which VI was open when it was launched. In this example, the VI GetInfo returns the reference of the VI that was open when it was launched.
Requirements: LabVIEW 2009
Can anyone point me to any information on why the subVI "Menu Launch VI Information.vi" that's used here might be returning error 42 for
Property Node (arg 1) when I use it inside a VI that is launched from the LabVIEW File menu?
I am trying to get the Application reference and it's evidently not available/valid?
However, this generic error code doesn't provide any details on the problem.
EDIT: OK, once I slowed down to actually read the help...
The context help clearly states "... a VI from which a Tools menu option..." and so I'm assuming this VI will not work for a VI launched from the File menu. So, my new question is whether there is similar functionality that works from the File menu?
/Edit
Thanks in advance for any suggestions.
James