LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't I open a VI that I created on another computer?

I created my VI on my laptop, and when I transfered and tried to open the VI file from my local PC, it keeps giving me a dialog box asking me to select the file....over and over and over again. Are there some other hidden files that are associated w/ the VI? Or is it all rolled into one?
0 Kudos
Message 1 of 3
(2,897 Views)
There are no hidden VI's, but there may be some sub-vi's on your laptop that are not on your desktop.

These could include any sub-vis you created on you laptop and any extra LabVIEW toolkits or drivers (NI-DAQ) that you installed on the laptop.

If it's toolkit or driver VIs that are missing, you'll need to install the toolkit or driver on your desktop also.

If it's sub-vis you created, they will need to be transfered to your desktop as well. One way to this is to save the VI as a library. From the top level VI, go to the File menu and select Save with Options... In the dialog that opens, select the Development Distribution option on the left side of the dialog and hit Save. This will create a file with an .llb extension instead of .vi. This single
file will contain your top level VI, as well as any custom sub-vi's that are needed. You can also include the vi.lib files (these are standard sub-vis that come with LabVIEW) if you choose, but this can make the .llb very large. Since they are included in the LabVIEW installation, you shouldn't need to this.

A better way would be to keep all your custom sub-vis in the 'user.lib' directory in the LabVIEW directory and keep this directory sycronized between your computers. I use a program called TreeComp to sync them. (Freeware:-) Put VIs in your user.lib that you can reuse in other applications and put application specific sub-vis in directories under you top levels directory.

If this doesn't work, provide us with more specific details of what the dialog says.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 2 of 3
(2,897 Views)
Check the user rights if you're using w2k. I'm constantly getting problems with our w2k Network with file permissions being set so that LabVIEW can't read the VIs being used.

Copying to a local computer doesn't always automatically mean you have full rights for the file.

Just my idea on the subject

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 3 of 3
(2,897 Views)