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:55] – [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 project, then 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: +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. 
-    *//Start time// - event start time  +   
-    *//End time// - event end time  +**Show on timeline** - If you select this checkboxyou can see evetn on timeline with set colorSee below 
-    *//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).+
  
 +**Add log message** - If you select this checkbox, a message with set priority and content will be generated upon event start. 
  
-  ***Show on timeline - See the explanation before on Save to Report checkbox  
  
 +{{::events_repert_eng.png?direct&1000|}}
  
-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_timeline_eng.png?direct&1000|}} 
 + 
 +==== Viewing recorded Event====
  
 Since the "Show on timeline" option was set when creating the event, it will also be shown on the timeline. The line with a point on the axis mark event start time or the one-moment event. You can navigate the timeline holding main mouse button to move horizontaly and zooming with mouse wheel button.  Since the "Show on timeline" option was set when creating the event, it will also be shown on the timeline. The line with a point on the axis mark event start time or the one-moment event. You can navigate the timeline holding main mouse button to move horizontaly and zooming with mouse wheel button. 
  
-{{::events_timeline_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