LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a new file extension type and linking my executable Labview program to it

I would like to save data with a specific file extension that will be recognised in windows as a link to my labview exe. The same way clicking a word file loads the file in word! How can I do this?
0 Kudos
Message 1 of 3
(2,947 Views)
Hi,
I'm not sure that I've got the problem but...
1. You must understand that LabVIEW can open only its instruments, libraries, templates and controls. So I suppose that you want to change the extensions of these objects, i.e. you want to create VIs with extension "HHH" for example.
2.The easiest way is to create the file with your extension "HHH". Then try to open it from "Windows explorer" by double click. If extension is not registered by any program the dialog will appear asking which program to use to open this file. Choose program from the list (Labview) and set option "always use the selected program ..."to true. Click "OK" and thats all.
3.Another way... To connect some program to file extension in windows you must do the following (I use win2000):
a. open
"Windows explorer"
b. goto menu "Tools->Folder options..."
c. in the dialog select "file types" page.
d. then click the "New" button to create a registered file extension.
e. type the file extension in the dialog, for example "HHH". then you can click "advanced" button to specify to which file type this extension will be connected. There you will be able to specify in the list how windows will treat this extension, for example you can connect your extension to "Labview Instrument"
f. click "OK"
g. your extension will be added to the list of registered extensions.
h. if you pressed "advanced" button in the item "e" then thats all. If not then you must click the button "change" in "file types" dialog to specify the program you will use to open files. Now select "Labview" from the list and click "OK".
i. Thats all.

3. Also you can do it programatically with the usage of "Register". But I don't know how.

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 3
(2,947 Views)
If I understand correctly what you want to do, see the discussion here.
0 Kudos
Message 3 of 3
(2,946 Views)