Assigning alarm border at runtime

I have recently been playing around with using the `DspSym` function for dynamically displaying genies as "tiles" during runtime.

Within the genie there is an animation point called `Meta` which gets metadata assigned to it, so that the other ANs can reference it in a sort of pseudo genie argument/substitution.

This has worked well and I am happy with the capabilities, however I have run into an issue in that I would like to configure an alarm border, but the alarm border input cannot take an expression, only an equipment name, which doesn't really work when using DspSym as you cannot pass in arguments/substitutions.

Is it possible to assign an alarm border with built in cicode functions?

Or could anyone point me down the path of implementing my own cicode function to walk an equipments children and find the highest alarm, and then apply a flashing border depending on alarm priority and status?

Cheers,

Alex

Parents
  •  Hi  , 

    An alarm indicator only supports equipment, which is by design. At design time, you can use genie syntax to substitute equipment names including cluster context, for example, %Cluster%.%Equipment%., in your graphics templates. You can also use ?Equipment? super-genie syntax to substitute equipment at runtime. I think you could use your own cicode function to work out which equipment and then pass it to the equipment super-genie substitution of an alarm indicator.

    Regards,

    Jacky

Reply
  •  Hi  , 

    An alarm indicator only supports equipment, which is by design. At design time, you can use genie syntax to substitute equipment names including cluster context, for example, %Cluster%.%Equipment%., in your graphics templates. You can also use ?Equipment? super-genie syntax to substitute equipment at runtime. I think you could use your own cicode function to work out which equipment and then pass it to the equipment super-genie substitution of an alarm indicator.

    Regards,

    Jacky

Children