Add an identification curve for the upper and lower bounds on the trend chart

When the user looks at the trend curve, he wants to see the two identification lines of high alarm and low alarm, and when the user looks at the temperature for a period of time, he can clearly see whether the data is abnormal。
See picture
Trend_Alarm_line.png

In subsequent versions, can the function of alarm identification of graphs be added?

Than you

I think there is a way to do this with the Plot Data Widget - reference the alarm setpoints… see below link:
https://www.vtscada.com/help/Content/D_Widgets/Dev_PlotDataWidget.htm

1 Like

Thank you for your reply,
PlotDataWidget can implement ALarm Line, but it can only pre-set the number of days to be monitored in the properties, and the time cannot be modified during operation, nor can it be modified like HDV, and the customer wants to select the time when running
Thank you

See below, we used this on a demo system. Two plotdata widgets layered to give two traces (the top has a transparent grid area etc.). You can then have a dropdown box with suitable time scales that change the time function via the page.SRC. Make sure you test the values you use - I found that it didn’t like some time values.
Capture.JPG

The value in the page.SRC takes a bit of working out, though it can be done, in the below it is the number “2” in bold that denotes the time period. This could reference a tag I think. Test it thoroughly.

PickValid(Scope(\VTSDB, “+62w=b${z9\x-.s42j~_h”, TRUE)\PlotData, Scope(\VTSDB, “:AnalogStatus”, TRUE)\PlotData)(2, Invalid, “”, “<00FFFFFF>”, Invalid, Invalid, Invalid, Invalid, Invalid, 1, 1, Invalid, Invalid, Invalid, Invalid, Invalid, “”, Invalid, “”, “Value”, 0, 1, 1, “<00FFFFFF>”, 0, 1, 0));

1 Like

The alarm setpoints can be drawn on a trend by modifying the pen properties for the tag.
Open a trend, select the pen properties from the tag in question in the legend (the gear icon) and then check the “Show Alarms” checkbox.
Whenever the tag is plotted, the Alarm Setpoints will also be plotted using the color of their alarm priority.
Snip.png

1 Like