Hi Ann,
I think the problem is your subvi hasn't finished running, that's why the
main vi is still waiting it to finish which blocks the user actions.
What you can do is you need to use vi server to run your subvi without
waiting it to finish, but you need to add communication between subvi and
the main vi through, for example queue, to tell the main vi if the subvi
finished so that you can move to next subvi (I remember your last post that
you said you have a set of subvis to run in a sequence). This way, while
your subvi is running, your main vi user interface will not be blocked.
Hope this helps.

Irene He
Yahoo Messenger ID: [EMAIL PROTECTED]
www.geocities.com/irene_he
www.hytekautomation.com

----- Original Message ----- 
From: "Lai, Ann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 03, 2004 6:30 PM
Subject: Main VI and sub-vi's control


Hi,
My sub-VI outputs 10 different things, 4 things at a time.  It has a
continue button that blinks when one set of output is finished, and the
sub-VI will continue after the user clicks on this continue button.
Right now I am writing a main VI that will control this sub-VI along
with some other sub-VI.  I have an input and output cluster in my main
VI to send and receive info from the sub-VI.  But I am having a problem
with making this continue button works.  In my output cluster in my Main
VI, I have a continue button just like the one in my sub-VI.  In my
sub-VI, I have a "blink yet?" indicator to indicate when the program has
finished taking a set of data.  In my Main VI, I use get control value
method to set the blinking property of the Main VI's continue button.
This button blinks fine, but when it blinks, I cannot click on it to
change its value, does anyone know why or know of a better way to do
this?
Thanks.




Reply via email to