LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Different Time interval between event firing

Hi friends, i am trying to implement "Morse Telegraph Machine" by using event structure. But i am facing a problem with assigning time interval between the event firing. when i type two characters with 50 m. Seconds interval the two characters should form into a word, and with 200 m.seconds interval the two characters should form as two separate words. but i couldnt find a way to assign the time intervals between the events. if anyone can knows how please help me

0 Kudos
Message 1 of 4
(3,122 Views)

Not sure what "events" are in your context. Are you using an event structure? Feel free to post what you have.

 

If you are using an event structure, you can specify the time out event. An event case can put the new time out time, put it in a shift register, and the event structure can use that for the new time out time.

0 Kudos
Message 2 of 4
(3,106 Views)

it is better to use the queue

Labview 4.0, 5.0, 6.1, 8.6, 2009, 2011, 2012, 2014
If you do not know something, ask me.
0 Kudos
Message 3 of 4
(3,082 Views)

use the 'time' in whatever event case that you use to handle the key press to compare its current value and previous value.

 

 

image.png

 

-Joe

 

 

 

 

 

 

 

 

 

 

Message 4 of 4
(3,058 Views)