LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

windows cannot find vi, but it opens

Almost every time I open a vi, a warning window opens up that says "Windows cannot find xxxx.vi. However, the correct vi opens up anyway. Why does this happen?
S G
Certified LabVIEW Architect, Certified TestStand Architect, Certified Professional Instructor
0 Kudos
Message 1 of 11
(4,847 Views)
You must be double clicking the VI from Windows Explorer or Desktop or from somewhere with LabVIEW not yet open.

This is really a Windows problem. When you double click a file, Windows waits for that file to be opened in it's default program. If it's not open after a specified timeout (not sure what that is), you get the error message. LabVIEW can take a while to load depending on what extra modules you have installed and how your palettes are loaded and configured.

In general, it's nothing to worry about, and there's probably nothing you can do about it. There may be a registry key you could modify to make the timeout longer, but I have never bothered to look. The best thing to do would be to first open LabVIEW, then open your VIs and you should not get the error naymore.

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 11
(4,840 Views)
Thanks, Ed.
I have that a lot and realized it was a windows problem, but never actually cared enough to check why this happened. You have my stars.
You can have even more stars if you have any information about what is, to me, the most annoying LV bug of them all. Be warned, this is not for the faint of heart. Imagine this: You're using LV 7 and you made a small mistake, so you click ctrl-Z, to undo. In many cases, this leads to the front panel being brought to the top and resized, so the window title is just out of the screen. Why? Whywhywhywhywhywhywhy? The instant I resize the window, by clicking on the bottom right corner, the title jumps back and I can make the window full screen again. But then, of course, the next time I undo, this may happen again.
This is, without a doubt, the most annoying bug because it even though it doesn't do anything bad, it happens a lot, and since I use 7 almost exclusively, there is no running away from it to 7.1 (assuming it was fixed).
If you have a solution to that one, I will be eternally grateful.

___________________
Try to take over the world!
Message 3 of 11
(4,839 Views)
Wow,

I've never had that happen to me.

My first suggestion would be to make sure you have the latest video drivers for your card, but that doesn't even sound likely in this case since it's triggered by an undo.

Have you noticed any consistancies like you just added a certain control, wired to a certain fuction, resized the panel, anything like that? Are you using a standard screen resolution? Maybe dual monitors?

One thing you might try is to disable some of the video hardware acceleration. Do this by going into the display properties and on the Settings tab, click the 'Advanced' button. In the dialog that opens, there should be a tab named 'Troubleshoot'. On here there's a slider to turn off some of the hardware acceleration features. Rumor has it that these can sometimes cause odd things to happen in certain applications. Turn it down one notch and see if it make a difference. If it happens again, go another notch.

Can't think of anything else right now. If you try some of these, let us know how it works out.

This one will probably be as hard to track down as my Resize Handles Disappear bug.

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 4 of 11
(4,832 Views)
Acutually, that resizing thing happens to me as well (can't remember whether only in 7.1, or in 7.0 as well, that's what you get for working on different computers). I don't even remember what I do to solve it (probably select, then unselect, then group\ungroup, delete\add until it comes back).
I actually never tried to figure out where that undo problem is coming from. I work almost exclusively in LV 7 RT on a XP pro HP laptop with 1024x768 resolution.
I will try from now on to check when this happens and if I manage, even catch a video of it. I will report back if anything comes out of it.
Ah, those precious bugs. Where would we be without them?

___________________
Try to take over the world!
0 Kudos
Message 5 of 11
(4,817 Views)


Ah, those precious bugs. Where would we be without them?



We might get a bit more work done, but bug squashing is more fun.


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.
0 Kudos
Message 6 of 11
(4,808 Views)
I'm back...
Obviously, when you wait for it to happen, it doesn't, but now I finally managed to have this again.
I haven't turned my video settings down.
I may have a lead - This time I made the Y scale of a chart visible and when I undid it it happened, so this isn't restricted to BD changes. Then, when I tried to do it again, it didn't happen, so this isn't brought on by something specific. I also believe that this was the first change I made to the VI. Now, I remember the problem as being much more annoying than that, but it's possible it was happening only after I saved (I try to save a lot. Bad experience). The solution to all my problems would probably be to uninstall and reinstall LV, but I don't feel like it. Maybe I will try a repair...

___________________
Try to take over the world!
0 Kudos
Message 7 of 11
(4,770 Views)
We had the same problem.

We deleted front panel objects and wiring diagram objects one at a time and saved the vi with revised names to see if we could determine what was causing the problem. The same problem persisted when the revised vis were opened.

Eventually we copied all wiring diagram objects and pasted them into a newly created vi. When the new vi was opened, it did not have the same problem. I was told that this is a bug associated with opening vis that did not convert properly from an older version of LabVIEW.
Thomas D. Schaefer
Wells Manufacturing Corp
0 Kudos
Message 8 of 11
(4,757 Views)
YES!
Or is it "Noooooooooo!!!"?

I finally got this not only on another computer, but on a different version (7.1).
I took a VI I created on the original machine (from scratch) and I copied it to the other machine. Then, I worked on it in 7.1 over a few days, when it started doing this too. I don't remember this happening previously on this computer, but I don't use it that much, so I can't say.

If you want to try it yourself it can be found here. The VI is called Save New File and I really can't say how to recreate it. I worked at it randomly and when I click ctrl-Z it just does this unperdictably. It can be after deleting a wire or after moving something. It already happened several times. I really don't understand this.

___________________
Try to take over the world!
0 Kudos
Message 9 of 11
(4,701 Views)
I finally found the source.
More details here.

___________________
Try to take over the world!
0 Kudos
Message 10 of 11
(4,636 Views)