LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: How to call other events while being in one event

then any suggestions , i want to check an alarm in middle of the resister write and read and come back to the stage of
write and read ,any time base suggestions .i dont want to exit the event or process i want that the process stop for some
time and run form same step of stop after the alarm check ,i am using Modbus to communicate with board

0 Kudos
Message 1 of 3
(72 Views)

Note that events are not 'called', they are triggered.

 

The events handled by an event structure are processed serially; one cannot be processed in the middle of another.

However you can have the same sub VI called by multiple events.

 

I seems like you want to check the status of something while processing an event.  Is that correct?

Checking the status of something should not require that an event be triggered.

0 Kudos
Message 2 of 3
(60 Views)

You can use User-Events to trigger an event (or several ones) while being in another event. As Paul stated, they are executed sequentially.

If you want to execute the triggered event asynchonously, you can trigger an event in another, independent loop.

 

Greets, Dave
0 Kudos
Message 3 of 3
(32 Views)