From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to realize the function that three events happen continuously??

Sorry, I can't describe the question in english ,so  I speak Chinese
想实现这样一个功能:点击一个按钮后,有三个事件连续发生,但是第一个事件发生后2秒钟,第二个事件才自动的发生,然后再2秒钟后第三个事件发生,另外这三个事件都是给同一个指示量赋值,请教大家了?如何实现呢……
0 Kudos
Message 1 of 2
(2,365 Views)

I’m not sure if I understand your question. From what I understand you want to send a sequence of timed events with the action of 1 button.

For doing this you can enclose your 3 events in a sequence, with a timing function inside a case connected to the button or an event structure, here is an example.

If you are using more events I recommend using a state machine architecture instead of the flat sequence

 

I hope this helps

Message Edited by BeCeGa on 08-11-2006 09:37 AM

Benjamin C
Principal Systems Engineer // CLA // CLED
0 Kudos
Message 2 of 2
(2,315 Views)