Ann,

You wrote:

...  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?

Irene responded:

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...

I haven't tried it, but I think another approach would be to use parallel while loops, one calling your subVI and one checking the main VI's continue button. The second loop should continue to run while the first is stalled waiting for the subVI to finish.


Which approach is better depends on the details (including thread blocking?) and your comfort level with understanding and following the different architectures.

--
        EnWirementally,
        Paul F. Sullivan

----------------------------------------------------

        SULLutions              (781)769-6869
        "when a single discipline is not enough"

        visit http://www.SULLutions.com

----------------------------------------------------




Reply via email to