LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display Memory Problem ?

Solved!
Go to solution

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 !

Download All
0 Kudos
Message 1 of 6
(2,690 Views)

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

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 2 of 6
(2,681 Views)

Well here is the code ... 

0 Kudos
Message 3 of 6
(2,677 Views)

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

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 4 of 6
(2,663 Views)

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

0 Kudos
Message 5 of 6
(2,624 Views)
Solution
Accepted by topic author M.athieu.

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 🙂 !

0 Kudos
Message 6 of 6
(2,599 Views)