10-07-2013 10:02 AM - edited 10-07-2013 10:15 AM
Hello everyone,
I'm working on a big project which has several loops running simultaneously,
When I click on a menu item it display a simple VI which has loaded information from a .ini file, but the VI does not display itself properly and I need to pass my mouse pointer on the VI to display it ...
I've joined 3 pictures, the first one is the original VI, the way it has to be, the 2nd one the VI when launched from the menu, and the 3rd one the VI after passing my mouse on it.
I'm wondering if it's a memory problem because the VI works fine when it runs alone !
Solved! Go to Solution.
10-07-2013 10:08 AM
We can't really tell unless you send your code (not pictures), but it's unlikely it's a memory problem, much more likely it's a programming problem.
Cameron
10-07-2013 10:13 AM
Well here is the code ...
10-07-2013 10:33 AM
A .PNG file is a picture file, not LV code. If you send the code, someone can work with it and figure out the problem. If you send a picture (as you did), there is a lot that still involves guesswork. And, since this subVI(?) supposedly works on its own but not when called from elsewhere, you still haven't given us anything that could identify the problem.
Cameron
10-08-2013 03:52 AM
Hello camerond,
I'm not allowed to share other VIs linked to this one, but I can share this one to you if you want ?
I've solved my problem by using invoke node (open front panel and execute VI) before calling my VI, but I'm not sure it's a good solution
10-08-2013 07:00 AM - edited 10-08-2013 07:00 AM
News :
The master VI which call this subVI was hidding the master window with a .dll and calling the subVI at the same time, I've had flow issues with "hiding and restoring windows" VIs and .dll, I've restructured the data flow to call the subVI only after the main window has been hidden and it works fine, without invoke node.
Thanks for your time 🙂 !