LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create an icon in the desktop, which when clicked runs a VI

How to create an icon in the desktop, which when clicked runs a VI? Can anyone post a sample code?
0 Kudos
Message 1 of 5
(2,836 Views)

Follow these steps to create an icon on the desktop which, when clicked, runs a VI:

1.  Put the VI on your desktop.

Hope this helps,
-D

0 Kudos
Message 2 of 5
(2,833 Views)
When i put the VI in the desktop, and when i clicks, it opens the VI BUT it dont run the VI.

What must i do to run the VI by clicking an icon in the desktop?

Anu
0 Kudos
Message 3 of 5
(2,829 Views)

Open the VI.
Go to File>>VI Properties>>Execution and check Run When Opened.

Note that if you close the VI when you stop it, then you will have to place it inside another VI in order to edit it.

Another option for all this, of course, is to build an executable of this VI (if you have the application builder installed). You should be able to do this from Tools>>Build Application...


___________________
Try to take over the world!
0 Kudos
Message 4 of 5
(2,822 Views)
I also suggest to create a link to the vi (right-click on the file, Send To -> Desktop - create link).
It may be accidentally deleted.

Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 5 of 5
(2,819 Views)