‘Extras’ ‘Settings’

When this command is used, a dialog box will open in which you can make certain settings that affect the display and language in the visualization as well as the check of the visualization variables.

Note

The categories Display, Frame and Language also can be edited in the online mode.

  • Category Display : Enter a zoom factor into the field Zoom of between 10 and 500 % in order to increase or decrease the size of the visualization display. If option ‘Element numbers’ is activated, in each visualization element its number will be displayed, via which it is managed in the Element List.

    In the ‘Text’ area via button Font the standard dialog for selecting a font can be used for defining the font for the current visualization. This font will be automatically applied to all visualization elements, which do not have got a different font explicitly assigned via the element configuration (category ‘Text’). Via button Standard-Font the project font, which is defined in the Project Options, can be set as Visualization font, which also will only effect those elements without individual font definitions. Even those elements however can get assigned the currently valid standard font by the Standard-Font button in their element configuration dialog.

../_images/4620de475db6cef00a317f343375f004
  • Category Frame: If Auto-scrolling is selected, the visible portion of the visualization window will move automatically when you reach the edge while drawing or moving a visualization element. If Best fit in Onlinemode is selected, the entire visualization including all elements will be shown in the window in Online mode regardless of the size of the window. When Include Background Bitmap is selected, the background bitmap will be fitted into the window as well, otherwise only the elements will be considered.

  • Category Grid: Define here whether the grid points are visible in the offline mode, whereby the spacing between the visible points is at least 10 even if the entered size is smaller than that. In this case the grid points only appear with a spacing which is a multiple of the entered size. Selecting Active causes the elements to be placed on the snap grid points when they are drawn and moved. The spacing of the grid points is set in the field Size.

  • Category Compile: Per default the used variables get not checked for validity before going online with a project. If you want this check to be done already during a build run of the project (command ‘Project ‘ ‘Build’ resp. ‘Rebuild all’), then activate option Check visualization variable on compile. Invalid variables will be announced by a warning  ”… invalid watch expression…” in the message window.

  • Category Time/Date: Here you can define in which format the date or time data outputs in a visualization should be displayed.

    If option Formatted time display is activated, outputs controlled by a variable of the corresponding time or date datatype (e.g. timevar:TIME;) will be displayed in that format which is defined in the respective edit field here in the dialog. If the option is not activated or if for a datatype no formatting is defined here, the output will be displayed in that format which is used when assigning values to date and time constants (e.g. “t#12h34m15s”), see Time Data Types.

Note

During compilation as Target-Visualization a warning will be displayed, if the functionality is not supported by the target system.

Settings for the following datatypes are possible: Format for TIME/TOD, Format for DATE, Format for DT.

You can use the formattings listed in the table stated below. Upper and lower case must be regarded. Empty spaces inserted in a formatting definition will be displayed in the output string at the same position. Additional characters, which should not be interpreted as format definition, must be embraced by single quotation marks.

Example:

A project variable “timevar” of data type TIME is defined, which is configured to control the text output of a visualization element. In the Time/Date settings of this visualization, in the edit field at “Format for TIME/TOD” the data hh’:’mm’:’ss tt is entered. Output by the respective visualization element in online mode (e.g. if timevar has the value “t#12h34m15s”): 12:24:15 PM.

h Hours as number, with no leading zero for single-digit hours; 12-hour clock
hh Hours as number, with leading zero for single-digit hours; 12-hour clock
H Hours as number, with no leading zero for single-digit hours; 24-hour clock
HH Hours as number, with leading zero for single-digit; 24-hour clock
m Minutes as number, with no leading zero for single-digit minutes
mm Minutes as number, with leading zero for single-digit minutes
s Seconds as number, with no leading zero for single-digit seconds
ss Seconds as number, with leading zero for single-digit seconds
ms Milliseconds as number, with no leading zero for single-digit microseconds
t One-character time marker string;  “A” (ante meridiem)  for the time between 00:00 and 11:59,  “P” (post meridiem) for the time between 12:00 and 23:59
tt Two-character time marker string: “AM” (ante meridiem)  for the time between 00:00 and 11:59,  “PM” (post meridiem) for the time between 12:00 and 23:59
d Day of the month as number, with no leading zero for single-digit days
dd Day of the month as number, with leading zero for single-digit days
M Month as number, with no leading zero for single-digit days
MM Month as number, with leading zero for single-digit days
y Year as last two digits, with no leading zero for years less than 10 (example: year 2007 is displayed as “7”)
yy Year as last two digits, with leading zero for years less than 10 (example: year 2007 is displayed as “07”)
yyyy Year represented by full four digits (example: year 2007 is displayed as “2007”)
  • Category Language: Here you can specify in which national language the text that you assigned to an element in the Text and Text for Tooltip options should be displayed. Additionally the option ‘Dynamic Texts’ allows a dynamic change of the displayed text.

Note

The text display changes only in Online mode!