+1
Completed

Control of Timers in native drivers

Ekaterina (head of support) 9 years ago in Applications / i3 Pro updated by Aleksandr Romanov (CTO) 6 years ago 5

Add ability to set up Timer in Channel properties (that supports "request by Timer").


For example HDL reads the Sensor status by Timer:

// Timer: 0 - works once, when the app Starts. 
// If the Timer has been turned on, it stops
IR.GetDevice("HDL-BUS Pro Network").SetTimer("Lux Air:Read", 0)

// Timer: 1 or more - works in interval (sec), all the time
IR.GetDevice("HDL-BUS Pro Network").SetTimer("Lux Air:Read", 5)

// If you want to turn timer off at all, there is 2 variants:
// 1. send -1 in .SetTimer() method
// 2. add the method .StopTimer()
// but with "-1" you can read it as .Timer property, so v1 is preferred

Image 10859

Waiting for user's reply
  1. Global Cache - Sensor Notify
  2. HDL Buspro
  3. Helvar

+1

coupled with this idea, I'd like to be able to send feedback requests manually. otherwise the only method is:


on page load:

1) enable timer

2) wait for feedback to update

3) disable timer


sometimes you need feedback channels to update automatically. but if you have many, then it can be better to prioritise which ones you read frequently

has this timer function ever been added ? if so, which drivers support it ?

Completed

Hello, it was added for HDL driver