Orange Forum • View topic - Timer Events

Timer Events

A place to ask questions about methods in Orange and how they are used and other general support.

Timer Events

Postby lucian » Thu Jan 17, 2013 0:41

Hi,

I really like orange. Nice work.

I would like to program an widget which generates data from an external interface (e.g. serial port) on an regular base, with updated the following connected widgets.

Can this be done by using an timer event within the widget? Does it interfere with the unerlaying structure?

Regards,
lucian

Re: Timer Events

Postby Ales » Mon Jan 21, 2013 12:47

lucian wrote:Can this be done by using an timer event within the widget?

Yes
lucian wrote:Does it interfere with the unerlaying structure?

Generally no.
But note, that as soon as your 'timer' widget outputs a new data signal all 'downstream' widget's outputs are immediately invalidated and the propagation starts again from the beginning. So if the data is coming in too fast some widgets downstream might never even see any data.


Return to Questions & Support



cron