10-23-2013 04:41 AM
Dear all,
I am using Labview 8.2.1 with Windows XP.
I have a program who's allow the user to select any file or folder thanks to File dialog box.
For a reason that i don't understand when this dialog box is displayed, other parrallel while loop time execution goes slow down.
Put on my LabView front panel File Path command without any code and press "Browse" file button as shown on joined picture_1 birng slow down execution of the while loop.
Does any body could explain why this problem appear ?
By switch off on LabView Tool parameter "Use native file dialogs" (picture_2). the problem disapear. Unfortunately this kind of old dialog box is not practical...
If any body have an idea it could help me.
Thanks.
Solved! Go to Solution.
10-23-2013 05:04 AM
How exactly you figured it out, that the other loop is slowed down, after you click on the browse button?
Can you attach you code here.
10-23-2013 05:33 AM
It may be that their dialogue is looping with an insufficient wait in the loop. I guess your only other choice is to create your own dialogue VI. I guess not many people try to display dialogues whilst processing in parallel.
10-23-2013 05:36 AM
Hello,
When the File dialog box is running, other while loop time execution goes down.
Thanks.
10-23-2013 06:16 AM
@__KB__ wrote:
Hello,
When the File dialog box is running, other while loop time execution goes down.
Thanks.
This you have already mentioned in your first post... now my question is how you've actually figured it out... or can you share your code here???
10-23-2013 02:59 PM
Thanks all for help.
My program is too big to be added here. I'm trying to build a simple program to reproduce the problem.
What i see is that data graph are writen more slowly when the file dialog box is running.
Scan back log of daqmx acquisition in ohter while loop goes up too continuously...
I have already build my own file dialog box... but it is less friendly than Windows File Dialog box...
06-23-2014 03:55 PM
Hello,
I finally understand why Scanback of my acquisition loop goes up when I use file dialog box.
It is because I have too much access (by reference) on front panel indicator like Graphics.
By avoiding the using references, the scanback log goes up a few ms, and goes down quicly.
Thanks.