LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event structure with out time out

Solved!
Go to solution

What happens in my code if I deleted Time out case in the event structure and run the code .

0 Kudos
Message 1 of 4
(2,740 Views)

Easy to test...

 

The event structure will wait until one of the events that you defined occurs.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 2 of 4
(2,737 Views)

@prajwal.prithviraj wrote:

What happens in my code if I deleted Time out case in the event structure and run the code .


It will behave similarly to wiring a -1 to the Timeout... aka... it will not time out (it will wait until an event occurs).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If someone helped you out, please select their post as the solution and/or give them Kudos!
0 Kudos
Message 3 of 4
(2,732 Views)
Solution
Accepted by prajwal.prithviraj

If you haven't connected anything to the blue "Event Timeout" connector in the top left of the structure, the default value of it is '-1'. That means that the timeout event is never executed.

In this case, you can savely delete that case.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(2,731 Views)