LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does one of the windows in the compiled application keep flickering and is unresponsive to user's actions, unlike mine?

HI I need your help. I am puzzled that the same application behaves diffrently in the PCs.

The application has three windows and one of them  manages the opening and closing of the program.

In one case, the first window opens and run behind, to manage closing and opening of the login window and the third window..

After the first window goes into minimum and hidden state, then the login window opens up. But it is flickering and  unresponsive to user's actions.

In the window task manager, CPU usage shows 50% in another PC while the very same one on my PC show 1%.

What could be the problem? I have checked and could not find any waiting  module or function except event structure.

 

Pls advise. Thanks

Clement

0 Kudos
Message 1 of 3
(2,326 Views)

Propably the app went into an error state that isn't caught properly. I guess there is a loop spinning (CPU usage) and waiting for the exit message (which wont be received as the sending code is not executing due to the error).

I would guess that the error either comes from the property nodes that open/close the windows for some unknown reason or that the file with the login data can't be read.

 

That's what I can guess without code. 

 

Felix 

0 Kudos
Message 2 of 3
(2,320 Views)

Hi Felix. Thanks for your help.

I discovered that I used the direct path  in my PC before I copied the executable applicatrion  to another PC that result in the different places in the file directory system. That's why.  As for the looping continously and responsive, I might have forgotten  to put an end to the loop in the main vi after the application failed to find the file.

Anyways Thanks for help.

0 Kudos
Message 3 of 3
(2,290 Views)