11-20-2008 04:11 AM
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
11-20-2008 05:08 AM
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
11-23-2008 07:16 PM
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.