LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

EVENT STRUCTURE

Solved!
Go to solution

hello guys,

 

while using the event structure in a continuos loop, how many events can we add to a single structure??

 

If we add more than three events to a single event structure, will it become a complex design while executing the code??

 

regards,

PHANI

0 Kudos
Message 1 of 4
(3,129 Views)
Solution
Accepted by topic author tejaphani

Hey Phani,

 

You can use any number of events to add in event structure. Even, you can add any numbers of event identifiers to identify single event. You have to manage the occurance of an event. The event structure is the simplest way to control execution by writing event code in the area under that event.

 

Regards,

 

DCKAN

 


Best Regards,
DCKAN

"We make a Living by what we get. We make a Life by what we give."
Message 2 of 4
(3,116 Views)

And do not forget the golden rule when you deal with Event structures:

do not put any code into the Event structure which has a longer execution time (> 100 msec), since your GUI will become non responsive. So only use it for user GUI interactions (of course there are some special usage exceptions, like DAQmx Events, etc...).

0 Kudos
Message 3 of 4
(3,080 Views)

@Blokk wrote:

And do not forget the golden rule when you deal with Event structures:

do not put any code into the Event structure which has a longer execution time (> 100 msec), since your GUI will become non responsive. So only use it for user GUI interactions (of course there are some special usage exceptions, like DAQmx Events, etc...).


Well, it won't be "non-responsive," but humans are impatient, and hate to wait around more than 1/10 second before they want to start clicking buttons and stuff.

 

Interestingly enough, people allow a little more time - about 1/2 second - for someone to reply to a spoken query before they repeat it.  In the early days of video conferencing, the round trip delays would equal almost exactly that.  So you got a lot of people starting to repeat a question just as they are receiving the answer from the other person, leading to cascading confusion as the two conversants would alternately start talking only to stop and listen to the other person doing the same thing.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 4 of 4
(3,054 Views)