This page is a
translated version of the page
IRidium Server Panel Project and the translation is 96% complete.
Visualization of iRidium Server control
Visualization projects for work with iRidium Server
the documentation is updated 22.6.2018
iRidium Server + visualization - it is a central controller (or software on PC) connected to automation equipment. The server sends data to control panels and enable control of equipment. When connecting to the server there is a possibility to work with the databases and build graphs. Visualization for launch on control panels is created in iRidium Studio.
Description
It is recommended to create a visualization interface when you have a ready server project: connection with automation equipment is set up, virtual tags and scripts for them on the server side are formed. Import of the server project will allow you to get the full set of controlled variables for your visualization project fast. All you have to do then is to assign the variables to graphic items.
The server can work with several iRidium control panels where different or the same projects are uploaded. Visualization - it is a graphic interface to control automation equipment. It is launched only in the i3 pro application on control panels. The server settings are available via the web-interface.
Connection
Set up the server project - form the list of controlled devices and variables. The server project has to be imported in the iRidium visualization project. Then you need to set up graphic items to control the server variables.
iRidium control panels connect to iRidium Server and send commands. The server executes the commands by changing the state of variables of the automation equipment to which it is connected:
Import of variables from Server Project
There are several ways to add the iRidium Server driver in projects for control panels.
Fast creation of projects
Right-click on the server project and select "Create Panel Project"
You will get a panel project with an empty page and the iRidium Server driver with all server tags. You will be able to work with them as with commands and feedback channels - assign them to items for control and data display, process them with the help of iRidium Script.
When making changes in the server project you can synchronize it fast with the panel project. Select the iRidium Server driver and click
Sinc with Source.
The file of the server project with which the driver will synchronize can be substituted in
Source Project
Adding of iRidium Server in ready visualization projects
If you already created a visualization project and want to add connection to the server in it:
- add the iRidium Server driver from the database
- indicate the path to the *.sirpz project with which you want to synchronize your visualization project
- you will get the iRidium Server driver with the actual list of commands and feedback channels.
Commands & Feedbacks
As a result we have two levels of settings:
- iRidium Server - the driver unites the server variables
- Commands and Feedbacks - the commands and feedback channels which enable control of the variables. The commands are variables available for writing, the channels are variables available for reading.
Commands and feedback channels have to be assigned to project graphic items to control equipment:
- Commands are assigned to graphic items indicating the value to be sent to the bus when clicking on the items
- Feedback channels are assigned to graphic items to display the state of the group address
To assign commands or channels to graphic items use the drag&drop
method.
Do not create new commands and feedback channels for the iRidium Server driver in your project for control panels (*.irpz). They will not be created in the server project during synchronization - they will not work.
You can synchronize with control panels only commands and feedback channels created in the server project.
Setting up connection to the server
Settings for connection to iRidium Server
- Host - the server IP-address or domain name. You can use Local host 127.0.0.1, if the server and visualization work on one device
- Port - the TCP port for connection to the server, by default: 30464
- System ID - reserved
- Login - reserved
- Password - reserved
Change of connection settings
You need the possibility to change connection properties when you disconnect from the Wi-Fi network of the automation object and start using 3G or another Wi-Fi network. To maintain control of the object you need to switch from the local to public IP-address of the Internet router.
The switch is not automatic. You have to select the connection mode. For remote acces you have to make ports for controlling the automation system public. In order to do that you have o set up the Port Forwarding service on your Internet router. VPN can provide protected connection.
1 Download the template (*.js) (right-click button: "Save object as ..."), add the template in the script editor with the button (+) Add Script from file
2 Set up script properties as it is shown in the example:
- function Internal_1() {
- IR.GetDevice("iRidium Server").SetParameters({Host: "192.168.0.100", Port: 30464, LogLevel: 0, BackgroundMode: 0});
- }
- function External_1() {
- IR.GetDevice("iRidium Server").SetParameters({Host: "215.110.10.10", Port: 30464, LogLevel: 0, BackgroundMode: 0});
- }
Copy the driver name from Projeсt Device Panel - the list of properties has to be copied from the example.
3 Select the button which will be responsible for the switch of Internal and External properties. Open Macros Editor
for the Press event (Object Properties > Programming), select the Script Call
command and add it by double-clicking on it. Select the name of the function which will be activated by the button:
Now each pressing on the button will apply the corresponding connection properties.
Control of variables
Without iRidium Server commands will be sent directly to the KNX bus when clicking on graphic items of the visualization interface. Each control panel connects to the bus individually.
To send commands to the KNX bus, you need to create a graphic interface for your control panel. Interface consist of pages, popups and graphic items, see basic concepts for creation of graphic interfaces.
To simplify your work use interface templates.
To control equipment you need to set up commands (Commands) and feedback channels (Feedbacks). To send a command you need to drag it on the graphic item and indicate the value (Value) to be sent. To display feedback you need to drag the feedback channel and indicate where the value (Value) has to be output
Below you can see the types of group addresses supported by iRidium and settings of graphic items to control these types of addresses.
Activate/deactivate, write values
It is a graphic item with 1 or 2 states. Buttons depending on settings can be fixed or not. Each pressing on Button initiates sending of the same set of commands assigned to it.
1 Create a variable were a number or string has to be written. Set it up as it is shown in the instructions.
2 Create a button and set it up as follows (see all settings):
Type
|
Button
|
Feedback
|
Reaction of the item on user pressings and receiving data from equipment
- Momentary - the button sends values but does not display feedback
- Channel - the button sends values and displays feedback
- None - the button does not visually react on pressings or receiving of feedback
- Invert Channel - the button sends values and dispalys feedback inversely (false - on, true - off)
|
3 Drag the variable on the button and indicate the following in the dialog window:
Action
|
Send Number - write numbers in the variable. You can switch to Send String for sending ASCII strings
|
Event for Action
|
Interface events connected to the button. When the event are activated the indicated value will be written in the variable
- Press - send on pressing
- Release - send on releasing the button
- Hold - send in cycles on holding the button
- Move - it does not work with Button
You can use several events together. For example, send [ 100 ] on pressing and [ 0 ] on releasing.
|
Value
|
Values for writing in the variable. The button sends the same value written in Value
|
Add a feedback channel
|
(Create a feedback channel) Tick this if you want the button not only to write values in the variable but also change its state when receiving data from tthe variable. The received value will affect the button state (on/off) and it can be displayed in the button text field.
|
4 Now the variable is connected to the button. You can see all relations in OBJECT PROPERTIES > Programming
Trigger switching
Trigger switch with the help of the "Trigger Button" item allows to send 2 values indicated in Trigger Value 1
and Trigger Value 2
alternately. When there is feedback the trigger automatically takes the respective value and sends the value opposite to the current one on pressing. The trigger cannot be set up for working with 3 and more values.
1 Create a variable which has to be switched between 2 values. Set it up as it is shown in the instructions.
2 Create a button and set it up as follows (see all item settings):
Type
|
Trigger Button
|
Feedback
|
Reaction on pressings and receiving data from equipment
- Channel - switches the value and displays feedback (other types are not used)
|
Trigger Value 1 / Trigger Value 2
|
the values which will be sent alternately when clicking the button, they depend on the variable type
|
3 Drag the variable on the trigger, in the dialog window indicate:
Action
|
Send Token - send to the variable Value indicated in the graphic item properties (Trigger Value 1 or Value 2 depending on the current trigger state)
|
Event for Action
|
An interface event connected to the button. When the event is activated the indicated value will be sent to the variable
- Press - send on press
- Release - send on release
For Trigger button you can use only one event at a time
|
Add a feedback channel
|
(Create a feedback channel) Tick this field as it is required for the button to know its current value and change it when receiving data from the variable and on clicking.
|
4 Now the variable is connected to the trigger. You can see all relations in OBJECT PROPERTIES > Programming
Regulation with levels
Pressing on the level or moving of the slider sends to the variable the value corresponding to the current slider position.
1 Create a variable which has to be regulated. Set it up as it is shown in the instructions.
2 Create a level and set it up as follows (see all settings):
Type
|
Level
|
Feedback
|
the level reaction on user's pressings and receiving data from equipment
- Channel - to send values and display feedback (the slider moves when receiving data)
|
Min / Max
|
the limits of level regulation: they define the value range in which the slider moves
|
Invert Range
|
to swap the top and bottom level parts. i.e. the regulation from 0 to 100 will be performed not from the bottom upwards (when the level is vertical) but from top downwards.
|
3 Drag the variable to the level, indicate in the dialog window:
Action
|
Send Token - to send to the variable Value, taken as the current slider position in the Min...Max range
|
Event for Action
|
the event interface connected to the button. When the event is activated the indicated value will be written in the variable
- Press - to send Value on pressings
- Release - to send Value on releasing
- Move - to send all intermediate Values when moving the slider.
add Delay (100) before commands for the Move event to avoid overload of equipment (with the Delay command Move will work once in 100 ms)
You can use all three events together.
|
Add a feedback channel
|
(Create a feedback channel) Tick it for the slider to move in accordance with the actual variable state
|
4 Now the variable is connected to the level. You can see all relations in OBJECT PROPERTIES > Programming
Step-wise increment/decrement
A graphic item has 2 states. At that each clicking changes the current value by "Up/Down Value", but within the "Max/Min Value" range. The calculated value is sent by the variable: thus the step increment/decrement of the variable is implemented. It is required to have feedback from the variable in real time to work with the item.
1 Create a variable which has to be incremented/decremented. Set it up as it is shown in the instructions.
2 Create a level and set it up as follows (see all settings):
Type
|
Up/Down Button
|
Feedback
|
Reaction of the level on user's clickings and receiving data from equipment
- Momentary - the button has to be clicked visually right away, it does not display feedback visually
|
Up/Down Value
|
the increment/decrement step (it can be more or less than zero)
|
Min/Max Value
|
the increment/decrement limits (minimum limit for decrement and maximum limit for increment)
|
Hold Value
|
the increment/decrement step when the Hold event is activated. Commands for controlling equipment can be assigned using both Press and Hold - then the value will be incremented/decremented when you hold the button pressed
|
Hold Time
|
time of holding the button for the Hold event to be activated
|
Repeat Time
|
frequency of repeating the On Hold events
|
3 Drag the variable on the button and in the dialog window indicate:
Action
|
Send Token - send to the variable Value calculated as a sum of the current values and the increment step
|
Event for Action
|
The interface event connected to the button. When the event is activated the calculated increment value will be written in the variable
- Press - send on pressing
- Hold - increment the value with the indicated frequency on holding
You can use two events at a time.
|
Add a feedback channel
|
(Create a feedback channel) Tick this field as it is required for the increment to be calculated in accordance with the actual variable state
|
4 Now the variable is connected to the level. You can see all relations in OBJECT PROPERTIES > Programming
Sending Puls
Some automation system execute actions not by a simple value change but by receiving an impulse - a one-shot change of the variable state with return to the initial value.
Sending a pulse - it is a task which can be performed from a standard button (Button). The button can regulate the pulse length or send the pulses of the same length.
Use a 2-state button to perform this task. The button will send some value at each pressing and then it will send zero. Implementation variations enable creation of a pulse with fixed and variable length.
1 Create a variable which has to be controlled. Set it up as it is shown in the instructions.
2 Create a button and set it up as follows (see all settings):
Type
|
Button
|
Feedback
|
Reaction on user pressings and on receiving data from equipment
- Momentary - the button sends values but does not display feedback
- Channel - the button sends values and displays feedback
- None - the button does not react on pressings or feedback visually
- Invert Channel - the button sends values and displays feedback inversely (false - on, true - off)
|
3 Drag the variable on the button and indicate in the dialog:
Event for Action
|
Variant 1. Pulse with regulated length
- Press - tick the field and indicate the value for the variable equal to the logical one - the pulse will start when touching the button
- Release - tick the field and indicate the value for equal to the logical zero - the pulse will stop when the button is released
Thus the pulse will be sent while you hold the button.
|
Add a feedback channel
|
(Create a feedback channel) Tick this field if you want the button both to write values in the variable and to change the state when receiving data from the variable. The received value will affect the button state (on/off). It can be also displayed in the item text field.
|
Event for Action
|
Variant 2. Pulse with fixed length
- Press - tick the field and indicate the value for the variable equal to the logical one. Tick Pulse and indicate the required pulse length in milliseconds. The pulse will start when the button is touched and will end after the indicated time by sending zero.
|
Add a feedback channel
|
(Create a feedback channel) Tick this field if you want the button both to write values in the variable and to change the state when receiving data from the variable. The received value will affect the button state (on/off). It can be also displayed in the item text field.
|
4 Now the variable is connected to the button. You can see all relations in OBJECT PROPERTIES > Programming
Scenes, sequences
You can assign several commands to one graphic item. they will be sent to equipment one by one from top downward without any delay. The feedback channel can be assigned only once. Otherwise the incoming data will be processed incorrectly.
To assign several commands to one graphic item drag them one by one on the item. Select the corresponding events (Press, Release, Move) in the dialog window:
Delay between commands (ms) is added through the macros editor. Select the Other
folder, the Delay
command. It is recommended to add delay for providing reliable processing of commands by equipment.
Group of radio buttons
Radio Button - an interface item which allows to select one of the preset options. In iRidium Radio Buttons are not separated as an item type as they can be set up on the basis of Trigger Button.
The task of Radio Buttons: to send to the variables values from different buttons from which you can select only one.
Settings and behavior of Radio Button depend on the variable you work with. You can find several examples below.
Variant 1 Radio Buttons for controlling one variable with the possibility to receive feedback. Values are written in one variable: equipment returns the current state of this variable.
- Set up the Trigger Button items (see the image) in a number equal to the number of Radio Buttons. In the fields
Trigger Value 1
and 2 indicate the same values corresponding to those which have to be sent to the controlled variable by each button
- Drag the command for controlling the variable on all Radio Buttons. Select the
Press
or Release
events for sending, tick Add A Feedback Channel
to display the variable status
the set up button will go to State 2 only when the variable takes the value indicated in Trigger Value 1 and 2
Variant 2 Radio Buttons for controlling variables with possibility to receive feedback. ON/OFF values are written in different variables; equipment returns the current state of these variables. The variables are not synchronized by automation equipment for working in the Radio Buttons mode (inactive modes on the side of iRidium have to be off)
- Set up the items Type:
Trigger Button
, Feedback: Channel
, indicate Trigger Value 1
= inactive, Trigger Value 2
= the variable active state (for example 0/1, 0/100)
- Drag the commands for controlling the variables on graphic items. By the example of the first item of the group:
- Send zeros to all variables in the Radion Buttons group to deactivate the current active mode. In order to do that select Action:
Send Number
in the dialog window for command sending
- Add Delay(50) ms through the macros editor of the Press event to give equipment time to deactivate the active mode
- Drag the command for controlling the variable corresponding to Radio Button on the item. Leave Action:
Send Token
. Value on the Press
(or Release) event, tick Add a Feedback Channel
If the equipment working modes are synchronized on the automation equipment side (when activating one of the modes the rest are automatically deactivated) you do not need to send zeros to the deactivated variables. Execute only article 2.3 of the settings.
Edit Box
It is an item for inputting data from keyboards. The input data are assigned to an item from where they can be "taken" - sent to equipment or processed in the script.
1 Create an item and set it up as follows (see all settings):
Type
|
Edit Box
|
Feedback
|
Reaction on pressings
- Momentary - the input area is highlighted when in focus
|
2 Edit Box items can be related to variables directly or via scripts
When clicking on the Edit Box item execute the command for keyboard opening:
- Object Properties > Programming > Press > «Show Keyboard [keyboard_type]»
On activation of the Enter
event send data from Edit Box to the item or driver.
Example of work:
- Press - the virtual keyboard of the smart phone (tablet) is opened
- Enter - the Edit Box item sends the text as a command to the driver; closes the keyboard; clears the input area.
To delete data you input before, write an empty string in Edit Box:
RGB palette
RGB LED strips are controlled with the help of DMX controllers and have one of the following configuration:
- Red, Green, Blue - three channels for controlling the LED strip color. Decrease of brightness is performed by decreasing brightness of separate channels.
- Red, Green, Blue, Alpha - four channels for controlling the LED strip color and brightness
Variant 1 Control RGB strips with the help of three (four) Level items.
You create 3 (4) Unsigned 8-bit (Subtupe: VALUE) variables in the project. The variables are controlled in the range 0...255, value increase in the channel corresponds to the increase brightness of the respective color.
LEVEL
Pressing on the level or moving of the slider sends to the variable the value corresponding to the current slider position.
1 Create a variable which has to be regulated. Set it up as it is shown in the instructions.
2 Create a level and set it up as follows (see all settings):
Type
|
Level
|
Feedback
|
the level reaction on user's pressings and receiving data from equipment
- Channel - to send values and display feedback (the slider moves when receiving data)
|
Min / Max
|
the limits of level regulation: they define the value range in which the slider moves
|
Invert Range
|
to swap the top and bottom level parts. i.e. the regulation from 0 to 100 will be performed not from the bottom upwards (when the level is vertical) but from top downwards.
|
3 Drag the variable to the level, indicate in the dialog window:
Action
|
Send Token - to send to the variable Value, taken as the current slider position in the Min...Max range
|
Event for Action
|
the event interface connected to the button. When the event is activated the indicated value will be written in the variable
- Press - to send Value on pressings
- Release - to send Value on releasing
- Move - to send all intermediate Values when moving the slider.
add Delay (100) before commands for the Move event to avoid overload of equipment (with the Delay command Move will work once in 100 ms)
You can use all three events together.
|
Add a feedback channel
|
(Create a feedback channel) Tick it for the slider to move in accordance with the actual variable state
|
4 Now the variable is connected to the level. You can see all relations in OBJECT PROPERTIES > Programming
Variant 2 Control of RGB strips with the help of palette
You can use any colored item as a palette - you will be able to send commands of setting up the selected color to equipment by moving a finger on the item.
It requires adding a special script - RGB libraries - in your project. The script has to be added only once. Then you will be able to use it to control RGB strips of any built-in iRidium drivers.
2.1 Create a palette and auxiliary items. You can use any colored image as a palette.
- Set up the palette like Joystick with the range 0...100 for Х and Y coordinates
- Set up an inactive item Button which will display the color selected on the palette
- If it is required set up active Button items which will change the strip brightness step-by-step
2.2 Download the file RGB_Library.js
- This file enables color control with the help of JavaScript. Add the file in your visualization project: open the project in iRidium Studio, click , select the item ( + ) "Add Script From File"
2.3 Create an empty script file: ( + ) "New Script" to add the description of your RGB palette in it:
- Describe the palette and the item for displaying the selected color in the script file:
///////// Copy this function to make one more RGB palette ///////
RGB_player(
"Driver", // Driver in project
"Channel Red", // Name of Red Channel
"Channel Green", // Name of Green Channel
"Channel Blue", // Name of Blue Channel
255, // Top limit for RGB channel (100 or 255)
IR.GetItem("Page 1").GetItem("Item Color Picker 1"), // Item "Color Picker"
/////// optional parameters ///////////////////////////
IR.GetItem("Page 1").GetItem("Item Display 1"), // Item "Display"
)
The extended version has buttons for controlling brightness:
Palette, displaying the color and the button +/- for controlling brightness
///////// Copy this function to make one more RGB palette ///////
RGB_player(
"Driver", // Driver in project
"Channel Red", // Name of Red Channel
"Channel Green", // Name of Green Channel
"Channel Blue", // Name of Blue Channel
255, // Top limit for RGB channel (100 or 255)
IR.GetItem("Page 1").GetItem("Item Color Picker 1"), // Item "Color Picker"
/////// optional parameters ////////////////////////////
IR.GetItem("Page 1").GetItem("Item Display 1"), // Item "Display"
IR.GetItem("Page 1").GetItem("Up 1"), // Item "Up"
IR.GetItem("Page 1").GetItem("Down 1"), // Item "Down"
10 // Increment step for "Up" and "Down"
)
In the description indicate where the palette is and to what equipment it sends data:
- IR.GetDevice("Driver") - the name of the diver to which you will send RGB commands. Copy the driver name in PROJECT DEVICE PANEL
- "Channel Red", "Channel Green", "Channel Blue" - the names of the variables (Commands) which are responsible for control of red, green and blue color components. Copy the names in PROJECT DEVICE PANEL. The Commands names have to be the same as the names of Feedbacks from where information about the current color of the RGB strip comes.
HDL-Buspro, Domintell
- they have a special way of writing names. For them you need to indicate <the device name in the network>:<the channel name>, for example "Dimmer in Bedroom:Channel 1"
- 255 - the maximum brightness value for each color. For the majority of equipment brightness is regulated in the range from 0 to 255 but there are drivers which control color brightness in the range 0...100 (for example, HDL). For HDL-Buspro indicate value 100 for this property.
- IR.GetItem("Page 1").GetItem("Item Color Picker 1") - the page name ("Page 1") and the item on it ("Item Color Picker 1") which you will use as a palette
- IR.GetItem("Page 1").GetItem("Item Display 1") - the page name ("Page 1") and the item on it ("Item Display 1") which you will use for displaying the color selected on the palette
- IR.GetItem("Page 1").GetItem("Up 1") - the page name ("Page 1") and the item on it ("Up 1") which will increase brightness of the selected color on pressing
- IR.GetItem("Page 1").GetItem("Down 1") - the page name ("Page 1") and the item on it ("Down 1") which will decrease brightness of the selected color on pressing
- 10 - the value on which brightness of the selected color will increase/decrease when clicking Up and Down
2.3 Click "OK" to save the palette description. Start Emulator to test its work.
Errors which can appear at incorrect palette description are displayed in the log window (F4)
Display of incoming data
Graphic items can display values of variabls by changing their state or text:
CHANGE STATE
1 Set up the graphic item so it would display the received values:
Select in the General settings:
Feedback: Channel (if 0 = false) or
Feedback: Invert Channel (if 0 = true).
This feedback type enables the item to process data received from variables
2 Assign the equipment channel (Feedback) to the graphic item:
Drag the feedback channel or the variable on the item, select In Text in the dialog window
For correct work the item needs 2 states. The first one corresponds to the zero value, the second - to any value different from zero.
The $V template added in the item text will enable output of received values in the item text.
DISPLAY IN TEXT
1 Drag the equipment channel (Feedback) to the graphic item:
Drag the feedback channel or the variable on the item, select In Text in the dialog window
The item can have any number of states and settings. The value will be output in the text field of all item states.
Add $V in the item text. Drag the feedback channel or the variable on the item, select In Value in the dialog window. It will enable output of the received whole number and ass any text to it.
There are templates for outputting fractions and etc.:
LIST OF TEMPLATES
Template |
Function
|
$V |
the integer part of the received value
|
$F1 ... $F5 |
float value. From 1 to 5 - number of symbols after a point
|
$F,1 ... $F,5 |
float value. From 1 to 5 - number of symbols after a comma
|
$S |
current Item state number
|
$X |
the value in the HEX type
|
$$ |
the $ symbol
|
$P |
(levels only) the current value in percentage of Level maximum
|
$H |
(levels only) the upper Level value
|
$A |
(levels only) the upper value minus the lower value of Level
|
$L |
(levels only) the lower Level value
|
$R |
(levels only) the Level range: the upper value minus the lower value
|
A template is entered into the text field of a graphic Item and can be combined with other text or symbols (comments, units of measurement)
Graphs of changes in variables (trends)
Linear Trend graphic items are used for building trends of variable changes in time.
Trends can be built in real time receiving information about variables directly from automation equipment. You can also use historic data together with the current variable values. The historic data can be stored only on iRidium server.
To save the history of changes set up saving of the variable in the server database. The setting is performed in the server project. When the variable is saved in the database, you can request the trend of its changes from i3 pro. The trend will unite the historic and actual data depending on the settings of the Linear Trend graphic item.
The setting of trend displaying is performed in the project for control panels.
1 Create the variable which has to be displayed on the trend. Set up the variable storing in the database in the iRidium server project.
The format of the data saving (Signed 32-bit, Float 64-bit) depends on the variable size. To save fractional values always use Float 64-bit.
You can save the variable with the selected frequency (Interval) or when changing it by more than the indicated value (Deadband).
2 Create a graphic item, select Type: Linear Trend. Drag one or several feedback channels for which you want to display the trend of changes on the item:
3 Go to the trend settings and describe its appearance:
- Trend - the main trend properties: work with the database, time range, main curve
- Range - trend time interval (axis X). When uploading a value from the database, it will show information for this time.
- Main Curve - select the main variable on the trend (it will be drawn brighter than the others)
- Background, Data View, Border - the design of the trend color scheme, see the example
- Cursor - under development
- General - the main time axis settings (axis Х)
- Visible Axis X - to display the time axis
- Position: Top - the time scale begins from the top, Down - from the bottom
- Line - the time scale settings
Major - axis and serif settings (scale)
Minor - additional serif settings (scale)
- Visible - to display the time scale
- Color - axis and serif color
- Depth - axis and serif width
- Interval - time interval on the time scale
- Serif - serif size on scale
- Count - the number of additional serifs on the scale
- Label - signing of the time scale (template, font, color, indent from axis)
- Text - signing of the time axis (text, font, color)
- General - the main value axis settings (axis Y)
- Visible Axis Y - to display the time axis
- Position: Left - the scale begins from the left, Right - from the right
- Range - range of values on the axis (from min to max)
- Auto scale - the axis automatically adjusts to the values coming from the database
- Min/Max - min/max axis value
The remaining settings are similar to the X axis.
- List of channels - the variables displayed on the trend and their individual settings (General, Axis X, Axis Y)
- Individual curve settings for multiple channels - the type of display, color and depth of each curve in the trend
- Color - curve color
- Type - the type of display:
- Dotted line - the curve is plotted as individual points
- Line - the curve is plotted as a solid line
- Square line - the curve is plotted as blocks
- Depth - curve width
- Setup Axis X and Y - enable individual axis settings for this curve (if disabled, the main axes of the trend will be displayed)
- Tag - the tag full name, it indicates to the driver and server variable from which data comes. It enables control of the variable via JavaScript
- Axis X, Axis Y - individual settings of the trend axes (similar to the settings of the main axes)
Trend examples:
Control the display of trends using a script