Ad Widget

Collapse

Key as a parameter for function

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vendrusculo
    Junior Member
    • Jul 2015
    • 26

    #1

    Key as a parameter for function

    Hello!

    Quick question, is possible to use a "key" as a parameter for a function?

    Key1 = custom.value[1]

    Key2 = custom.time[1]

    CalcItem = avg("custom.valor[1]",last("custom.tempo[1]"))

    I tried many ways to use this but without success...

    In fact I need a trigger to monitor if "custom.value" didn't change for last "custom.time" seconds

    Any tip??

    Thanks!
Working...