Hi,Shimokuta wrote: ↑Mon Apr 18, 2022 7:21 am Hey Keith
I have coded the CAS messages more or less like you have; i think i asked you in another thread about this
I am not sure how your code added functions.
What i understand this should make messages blink?Code: Select all
-- Start a timer that will fire the callback on requested interval timer_start(0, delta_ms, function() if data ~= nil then user_callback(table.unpack(data)) data = nil end end)
It resets data to nil , but how is this triggered?
grtz
Roel
That timer is for the dataref subscribe throttle. What that does is instead of having the datarefs fire when a value changes you can force a fire every interval.
Corjan did that for me some time ago.
https://www.forums.siminnovations.com/v ... 769#p31769
Keith