User Tools

Site Tools


events

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
events [2019/01/15 10:34] – [Creating Event] emozolyakevents [2019/01/15 10:49] – [Creating Event] emozolyak
Line 73: Line 73:
  
 == Selecting data to record in event log == == Selecting data to record in event log ==
 +
 +If you press **+Add Register to report**, the following dialog will appear:
  
 {{ ::e_register_selection_options.png?direct&600 |}} {{ ::e_register_selection_options.png?direct&600 |}}
Line 80: Line 82:
     *//End time// - event end time      *//End time// - event end time 
     *//Last update time// - the time of last record write time in the event ( this is a speical option for testing purposes)     *//Last update time// - the time of last record write time in the event ( this is a speical option for testing purposes)
-    *//Any register from Registers list// - and the third column of the report setting allows to select processing for the register - take minimal (Min), maximal value(Max), first value at the moment of event start (First Value) or the last upon the event end(Last Value), average value during the event time (Average Value). +    *//Any register from Registers list// - when you select register from your projectthen you can re-type the parameter title for the event and select which value to take for event log (min/max/first/last/average):  
-  ***Register E1.0, 1.1, ... ** (see also [[webhmi_internal_registers | link]]). The E-registers are indexed from 0 and further in ascending order (x is an index)y is the event identifier that is assigned to it when it is created and is displayed in the event list. Ey.x it is address in the WebHMI internal register protocol, and also  +{{ ::e_register_choices.png?direct&800 |}}
- +
-  *As a parameter of the E-register one of the 4 options are possible: +
-    *//Start time// - event start time  +
-    *//End time// - event end time  +
-    *//Last update time// - the time of last record write time in the event  +
-    *//Any register from Registers list// - and the third column of the report setting allows to select processing for the register - take minimal (Min), maximal value(Max), first value at the moment of event start (First Value) or the last upon the event end(Last Value), average value during the event time (Average Value). +
  
 +The rows of selected register have **Register E1.0, 1.1, ... ** string left to it. These E-registers are indexed from 0 and further in ascending order (**x** is an index), **y** is the event identifier that is assigned to it when it is created and is displayed in the event list. **Ey.x** - it is address in the WebHMI internal register protocol (see also [[webhmi_internal_registers | link]]), and also it is used to refer to them in Level2 report builder.
 +  
   ***Show on timeline - See the explanation before on Save to Report checkbox    ***Show on timeline - See the explanation before on Save to Report checkbox 
  
- 
-The settings for the event condition registers in our example are provided on previous picture. The names of the columns can be changed. For the E2.0, E2.1 registers with time value, the time format pattern is used like in PHP. For the E2.2, E2.3 registers the max. and min. values respectively. E2.4 - average value during the event. 
-After the example event setup, the followed report would be seen in the Reports menu: 
  
 {{::events_repert_eng.png?direct&1000|}} {{::events_repert_eng.png?direct&1000|}}
events.txt · Last modified: 2022/01/26 14:15 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki