PKTrend
LeftReference |
The left side reference of the target area. |
BottomReference |
The bottom side reference of the target area. |
RightReference |
The right side reference of the target area. |
TopReference |
The top side reference of the target area. |
PtObj |
The object value of the point to trend |
Enable |
Optional Boolean. Flag - TRUE when this action is enabled |
HistoryWindowParms |
Optional array. Parameters for the History Window |
Comments: |
Used only as part of a custom widget, created from scratch. If a history window is already open, PkTrend adds its PtObj to the existing window, otherwise it opens a new history window and adds its PtObj to the new window. PkTrend adds all of the fields in PtObj that are supported by AnalogDataSource, DigitalDataSource, or NotesDataSource to the history window. It also adds numerous related notes tags: 1. The preconfigured system-wide notes tag. 2. All of the notes tags that have a Area field that matches PtObj's Area field. 3. All of the notes tags in all of the groups that contain PtObj. |
Example:
((DisableTools || True(TrendPopupDisable)) ? Invalid : Self)\PkTrend(Left, Bottom, Right, Top, \Root, TRUE);