LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why do my 6.1 vi's open labview 6i

I had LabVIEW 6i and then upgraded to LabVIEW6.1. Everything was fine. I could double click on the 6.1 files in explorer and LabVIEW6.1 would open. Then one day it quit working. Now whenI double click in explorer, my 6.1 VI's try to open 6i...which results in the error "you can't open 6.1 vi's in 6i". I have tried to open my 6.1 VI's by using the "open with" option, it works, but the next time it reverts back to 6i. Any thoughts?
0 Kudos
Message 1 of 16
(3,937 Views)
Open the LabVIEW 6.1 application once.
Each LabVIEW executable re-register *.vi extension when opened so clicking on a VI opens in the version that was last opened.

If you find that too annoying, edit the labview.ini file of version 6 and add the line
RegisterExtensions=False

That will prevent the old version to register again.

Another option is to create a new action "LabVIEW 6.1" for the VI extension, associate it with LV6.1 labview.exe and make it the default action.


LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 16
(3,937 Views)
do i have to do that for every 6.1 file i have that is trying to open 6i?
0 Kudos
Message 5 of 16
(3,937 Views)
i tried the labview.ini, that did not work. i don't know what you are talking about when it comes to extensions and making new actions
0 Kudos
Message 6 of 16
(3,937 Views)
Wheeler,

The INI file addition works fine. Place the line
RegisterExtensions=False
right under the [LabVIEW] so that the first two lines in the file C:\Program Files\National Instruments\LabVIEW 6\labview.ini look like:

[LabVIEW]
RegisterExtensions=False

This works fine for myself and other on Windows 2000 Professional.

Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 7 of 16
(3,937 Views)
randy,
i tired that allready, it doesn;t work either. I upgraded from 6i to 6.1. IT worked fine for a couple of months, then last week, the icons changed shape and now all my VI's open 6i instead of 6.1, regardless of how they were made.
0 Kudos
Message 10 of 16
(3,937 Views)
When LabVIEW 6.1 is running and you double-click on a VI in Explorer, does it open in LabVIEW 6.1 or it starts LabVIEW 6?


LabVIEW, C'est LabVIEW

0 Kudos
Message 8 of 16
(3,937 Views)
Nothing is running. The labview VI is the first thing I double click on after i turn on my computer
0 Kudos
Message 9 of 16
(3,937 Views)
You did not answered my question. Start LabVIEW 6.1 from the application file or a shortcut to the application. *NOT* from a VI.

After it is launched, clicking on a VI will open it in LabVIEW 6.1 and it will restore the VI file association to 6.1.


LabVIEW, C'est LabVIEW

0 Kudos
Message 11 of 16
(3,799 Views)
sorry, but it still didn't work.
ok, here is what i did.
1. opened 6.1 and created a new VI. saved it and then closed 6.1
2. opened labview 6.1 from shortcut on desktop...i got the 6.1 start panel
3. i double clicked on the new VI in explorer i just created and labview 6.1 came alive and ran it. so i saved it again in 6.1 and closed everything.
4. i tried to open the vi form explore again by itself and 6i opened it, then gave me the error message.
0 Kudos
Message 13 of 16
(3,799 Views)