Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Preconfiguration "Current value trend"

Creates compound graphic item PmiCanvas configured as trend of current value.

This item renders a simple "trend" (time progression) of a value. The progression is rendered continuously, i.e. in a specific time a portion of the image is rendered according to the current value. It is not necessary to save the historical values (PmTrend object is not needed). So keep in mind that in such case all data is lost once the panel is closed.

 
This preconfiguration can be activated when creating a new graphic item and is included in the group: " / Chart, functions".
 
This graphic item contains embedded PmiCanvas item named Dynamic. The item has the variable Item1NewVal of the double type that can be connected to the measured value by binding.
 
In the PmiCanvas graphic item, there are variables minX, maxX, minY, maxY, spaceX and spaceY. These variables define the scale range in both x and y axes and also the offset of axes from left and bottom edge.
 
Additional configuration variables are located at the beginning of context itself, or at the beginning of designer's methods. The following items can be set:
- colorScale color of ticks and scale descriptions
- nMajY number of main ticks on y axis
- nMinY number of minor ticks (between two main ticks) on y axis
- nDescPer defines the quantity of displayed descriptors of main ticks (0 = no, 1 = every main, 2 = every second main)
- nMajX number of main ticks on x axis
- nMinX number of minor ticks (between two main ticks) on x axis
- colorArea background color of the graph rendering area
- colorGrid grid color
- nGridPer defines quantity of displayed horizontal/vertical grid lines (0 = no, 1 = every main, 2 = every second main)
- nTextSize scale description text size
The parent item contains variable TimeRangeSec where the time range of X axis is defined (in seconds).
These configurators can be set before the preconfiguration is created:
Number of trendsThe number of values in trend
1. trend
Measured valueConnection to measured value
Range from minimum (y)Low limit of the y axis
Range to maximum (y)High limit of the y axis
Graph line colorGraph line color
Chart typeChart type
0=hidden
1=linear
2=stairs
2. trend
Measured valueConnection to measured value
Range from minimum (y)Low limit of the y axis
Range to maximum (y)High limit of the y axis
Graph line colorGraph line color
Chart typeChart type
0=hidden
1=linear
2=stairs
Time axis range (s)Range of time axis (x) in seconds.
10
15
20
30
60
120
300
Data emulation in control variable bindingEmulated data will be generated in the control variable
PROMOTIC 8.3.24 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice