Applies To:
  • CitectSCADA 6.10, 7.00  ...
  • CitectHMI 6.10, 7.00  ...

Summary:

When viewing a trend page clicking on a trend diplays a cursor and caption which shows the time stamp of the location of the cursor in the plot.  Is it possible to add more information to the caption.

 

Solution:

The caption that appears with the trend curser is a collection of basic Citect graphics objects. They make use of grouping and the movement properties to follow the curser across the screen. If you would like to modify the information on the curser follow the steps below, also review Q2873.

  • Backup an original copy of the CSV_Include and restore the project with a different name eg. My_CSV_Include.
  • Open the trend template in the resolution which you intend to use in the main project and use SaveAs under a new name.
  • Locate the text box, Make a note of the group object settings then ungroup once to remove the lower triangle from group. Make a note again of the group property settings them ungroup again to separate the text from the background rectangle.
  • Adjust the rectangle to the size you desire and add any information fields you require.
  • It will be necessary to recreate the groups and reset the properties of those groups.
  • Finally run a page update in the include project and possibly the main project then compile the project and test.

Exampe of group properties.

Main Group

Appearance

Visability

Hidden When

CSV_Trend_GetPen(250,0) = ""

Text & backgroung

Appearance

Visibility

Hidden When

CSV_Trend_GetCursorPos(250) < 0

Movement

Horizontal

Expression

CSV_Trend_GetCursorPos(250)

Range Min

0

Range Max

728

Offset Min

0

Offset Max

-728

Vertical

Expression

PageGetInt(2)

Range Min

0

Range Max

1

Offset Max

-200

Offset Min

0

Note: that the object groups are tricky to work with if the object layers are changed, it might be easier to create a genie if a number of captions are required.

 

Keywords:
 

Attachments