LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to let two task in different event case run at one time.

Dear All,
          I have just thought of a problem, and write a simple vi.
          I want to try whether two task in different event case run at one time.
         The vi attached is the simple version.
         How can I to modify it?
         Thank you
 
 
Hugo
0 Kudos
Message 1 of 11
(3,322 Views)
Take a look at the New Event Handler VI that LV gives as an example for Event Structures.
Your cases are a bit more involved so I don't know if this will help or not.

Message Edited by Steve.Briggs on 11-21-2006 09:15 AM

Message 2 of 11
(3,316 Views)

Thank you for your reply.

Your vi is not run two events at one time.It is run one after another.

Thank you all the same.

 

Hugo

0 Kudos
Message 3 of 11
(3,299 Views)

You could move the code to a single Event case, and then add the two Events to the same state. 

-Khalid

 

Message 4 of 11
(3,290 Views)

Thank you for your reply.

I see that this method can solve the problem, but isn't it said it is not allowed that there are two event case structure in one vi?

 

Thanks.

 

Hugo

0 Kudos
Message 5 of 11
(3,282 Views)

I meant two Events handled by the same state of the Event structure.

Sorry about the confusion. 

-Khalid

Message 6 of 11
(3,262 Views)
Thank you for your reply.
I am sorry to say that I can't understand it.
Would you please give me a simply vi?
Thanks.
0 Kudos
Message 7 of 11
(3,241 Views)
Look at attached pic.
Message 8 of 11
(3,235 Views)

Thanks Dev!

-Khalid

Message 9 of 11
(3,227 Views)

Hi Khalid,

Its a honor to assist your top answers Smiley Happy

Regards,

Dev

Message 10 of 11
(3,211 Views)