LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to do I make my VI as an option for file open

Hi,
I have a VI, which opens a file and gets the data and displays in graph. when ever I start that VI it asks for the file to open. when I give the file name in the dialog box. It opens that file, takes the binary data and displays on a graph. I am wondering is there any way to put my VI in the options list of "Open with" list box so that I can open the data by just right clicking the file name and selecting my VI from the " Open with " list.
0 Kudos
Message 1 of 2
(2,536 Views)
Your task is easier if you build your VI into a standalone application.

You then need to have a way to pass the commandline arguments (the file name in this case) to be available in your code. Please follow the instructions HERE.

To associate your program with a certain file type, simply "shift-right-click" on it, select "open with ...", select your application ("other..."), and check "always use this program to open these files". (details vary slightly with OS version).
0 Kudos
Message 2 of 2
(2,536 Views)