LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to:pass a reference of vi to plug-in vi

Solved!
Go to solution

I have opened a plug-in vi in the development environment of LabVIEW, how to pass the reference of the vi currently being edited to the plug-in vi?

(Please note that I opened the plugin vi in LabVIEW.exe, so there is no calling relationship between the opened plugin vi and the vi that is currently being edited. I tried to use Discover Who Invoked The Icon Editor.vi (which is the vi that comes with LabVIEW's own icon editor) to get a reference to the vi that is being edited. I tried to use Discover Who Invoked The Icon Editor.vi (which is the vi that comes with LabVIEW's own icon editor) to get a reference to the vi being edited, but it doesn't work. Can anyone tell me how to pass a reference to the vi currently being edited to a plug-in vi that is opened by LabVIEW.exe in the LabVIEW development environment?)

0 Kudos
Message 1 of 3
(307 Views)
Solution
Accepted by topic author Eark_Elf

If your "plug-in" is a menu item that you've created by placing it in ...\Labview xxxx\project\

then you can use this:

paul_a_cardinale_0-1718546795409.png

 

Message 2 of 3
(262 Views)

Thank you very much for your answer, indeed!

0 Kudos
Message 3 of 3
(254 Views)