Do we have Timer in perspective?

For Vision, this is true.

For Perspective, it runs in the gateway, not the browser, along with all other executable customizations. The property changes have to be transmitted to the browser every time.

Use CSS for animations in Perspective.

1 Like

That sounds like a manual page from the days of Vision only. Vision runs on the client. Perspective runs on the gateway.

I'll submit an update request to docs@inductiveautomation.com.

You are right. But in some case we have to use now() "may be you not agree".
For example: I have to show alert icon in topbar when any alarm active. But we can see new alarm in alarm table but topbar icon need to refresh the page.
The solution i get from Chatgpt to create now(5000) as object member.

In alarming, you can use Gateway System tags instead of cyclic action.

1 Like

I would try to use a tag to monitor the active alarm. (Ujwal has explained how to do it.)
Then create a tag binding on the topbar icon to that tag.
It will respond immediately and you won't have to wait up to 5 s to see it.


Tip: when posting binding editor screenshots include the titlebar so we can see what property is being edited.

2 Likes

I would add one caveat to this approach. If you have a gateway hosting multiple projects that are separate, say for a water treatment and wastewater treatment plant for a municipality an alarm for one site would activate an alert in the other even though there isn't a problem. In that case @TechEnlive method is the only way I have found to filter alarms per project.

In that case you can use Tag as a trigger. Use that trigger to invoke binding and determine impacted areas. No need to for cyclic monitoring.

4 Likes