User Tools

Site Tools


dashboards

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
dashboards [2020/07/31 13:03] – [Object insector] atolstovdashboards [2023/06/05 08:43] (current) – [JavaScript for dashboard] emozolyak
Line 1: Line 1:
 +{{ network:menu-icon-dashboards.png?nolink&40|}}
 ====== Dashboards ====== ====== Dashboards ======
  
 In WebHMI, screens or dashboards (Dashboards) are analogous to screens for operator panels or graphic screens in SCADA systems. In WebHMI, screens or dashboards (Dashboards) are analogous to screens for operator panels or graphic screens in SCADA systems.
 +
 +<WRAP center round tip 60%>
 +Since the 3.6 fw version, there is a new visualization tool - [[screens|screens]] which are much more flexible and efficient than dashboards. Most tasks can be easily done with screens only. Use dashboards as a complement for the screen to create custom design. 
 +</WRAP>
 +
 +<WRAP center round important 60%>
 +An overcharged and bulky dasbboard can slow down system performance. 
 +</WRAP>
 +
 +
 ===== Creating and managing dashboards ===== ===== Creating and managing dashboards =====
  You can create multiple screens that will be available after you create them in the Dashboard menu. For example, let's create the '//The only dashboard//' screen, using the menu item 'Setup / Dashboards'.  You can create multiple screens that will be available after you create them in the Dashboard menu. For example, let's create the '//The only dashboard//' screen, using the menu item 'Setup / Dashboards'.
-{{::add_dashboard.png?direct&912|}}+{{network:add_dashboard.png?direct&912|}}
  
 The basic info tab has the following settings: The basic info tab has the following settings:
  
-{{::add_dashboard_2.png?direct&912|}}+{{network:add_dashboard_2.png?direct&912|}}
  
   ***Version** - starting from 3.1 firmware version, the dashboard editor is incompatible with previous versions, and for compatibility reasons this option allows users to choose dashboard version, so that existing project in version below 3.1 still can be upgraded without modifications of the original dashboards. The project may have several dashbards in different versions.    ***Version** - starting from 3.1 firmware version, the dashboard editor is incompatible with previous versions, and for compatibility reasons this option allows users to choose dashboard version, so that existing project in version below 3.1 still can be upgraded without modifications of the original dashboards. The project may have several dashbards in different versions. 
Line 14: Line 25:
   ***Category** - allows to arrange dashboards in the menu:   ***Category** - allows to arrange dashboards in the menu:
  
-{{ dashboard_categories.png?direct }}+{{ network:dashboard_categories.png?direct }}
  
 But if it is the only dashboard, its title will be displayed in the side bar without Dashboards or Category entries: But if it is the only dashboard, its title will be displayed in the side bar without Dashboards or Category entries:
  
-{{ only_dashboard.png?direct }}+{{ network:only_dashboard.png?direct }}
  
   ***Hide from menu** checkbox  - if checked this dashboard won't be shown in the Dashboards menu on the side bar. Is still can be accessed via link buttons on the dashboards.    ***Hide from menu** checkbox  - if checked this dashboard won't be shown in the Dashboards menu on the side bar. Is still can be accessed via link buttons on the dashboards. 
Line 28: Line 39:
   ***Top panel background color** - it is this color:   ***Top panel background color** - it is this color:
  
-{{ dash_top_panel_color.png?direct&600 }}+{{ network:dash_top_panel_color.png?direct&600 }}
  
 ---- ----
  
  
-**Templates** tab - allows multiple usage of the same dashboard graphic with different (but similar) physical connections and registers. More on this in special section. +**Templates** tab - allows multiple usage of the same dashboard graphic with different (but similar) physical connections and registers. More on this in special section. for i in {602..599}; do history -d $i; done
  
-{{ template_tab.png?direct&600 }}+{{ network:template_tab.png?direct&600 }}
  
 ---- ----
Line 42: Line 53:
 **Permissions** tab - here you may select which users can access this dashboard.  **Permissions** tab - here you may select which users can access this dashboard. 
  
-{{ permissions_tab.png?direct&600 }}+{{ network:permissions_tab.png?direct&600 }}
  
 ===== Dashboard list ===== ===== Dashboard list =====
  
 ---- ----
-{{::dashb_list.png?direct&912|}}+{{network:dashb_list.png?direct&912|}}
  
   - go to the dashboard page for **viewing**   - go to the dashboard page for **viewing**
Line 53: Line 64:
   - modify dashboard's **settings** as were described above   - modify dashboard's **settings** as were described above
   - **delete** dashboard from the list   - **delete** dashboard from the list
-  - **clone** - creates a copy of this dashboard+  - **clone** - creates a copy of this dashboardThere is a possibility to see all the dynamic properties that is set to dashboard elements.  
 +{{ :dashboards:dyn-prop:dash_view.png?direct&1000 |}} 
 +{{ :dashboards:dyn-prop:check_dyn.png?direct&1000 |}} 
 +It is can be useful e.g., for making clone of dashboard, and to not forget to rebind registers to avoid inappropriateness or just to get to know about dashboard element's behaivour.   
 + 
 + 
 +==== Show hidden checkbox ==== 
 +{{ :dashboards:dyn-prop:unhidden.png?direct&1000 |}} 
 +{{ :dashboards:dyn-prop:hidden_selected_tree.png?direct&1000 |}} 
 +Due to cleanliness and convenience there is a possibility to hide visual display of a picture only in the editor, but it still be visible on dashboard. 
 +{{ :dashboards:dyn-prop:check_dyn_hidden.png?direct&1000 |}} 
 +To see this objects there is an another checkbox. 
 +With this checkbox you can show hidden objects via [[dashboards#object_inspector|Object Inspector]], but not via [[dashboards#dynamic_properties|"Hide" checkbox]]. It will make borders visible or dynamic properties if it is present. 
 +{{ :dashboards:dyn-prop:hidden_with_dyn_props.png?direct&1000 |}} 
 + 
  
 You can arrange the order in which dashboards are shown in the side bar by dragging rows in the list.  You can arrange the order in which dashboards are shown in the side bar by dragging rows in the list. 
Line 63: Line 89:
 You can start editing dashboard either from the dashboard workspace or from the (2)  button in the list: You can start editing dashboard either from the dashboard workspace or from the (2)  button in the list:
  
-{{ ::dashb_list_options.png?direct |}}+{{ network:dashb_list_options.png?direct |}}
  
 The editor layout is given below: The editor layout is given below:
  
-{{::editor_main_elements.png?direct&912|}}+{{network:editor_main_elements.png?direct&912|}}
  
   - **Workspace**    - **Workspace** 
Line 81: Line 107:
 The grid facilitates neat alignment of the objects. Bold lines are placed at x2 interval of the actual grid size defined in settings so the grid size is a distance from bold line to thin one.  The grid facilitates neat alignment of the objects. Bold lines are placed at x2 interval of the actual grid size defined in settings so the grid size is a distance from bold line to thin one. 
  
-{{ ::grid_size.png?direct&200 }}+{{ network:grid_size.png?direct&200 }}
  
 Holding //Shift// down while moving an object switch off gluing to grid for precise placement.  Holding //Shift// down while moving an object switch off gluing to grid for precise placement. 
Line 99: Line 125:
 //Mouse Right - click// activates context menu if there is an object at the cursor position (if there are many objects, a selection list will be provided).: //Mouse Right - click// activates context menu if there is an object at the cursor position (if there are many objects, a selection list will be provided).:
  
-{{ right_click_menu.png?direct  }}+{{ network:right_click_menu.png?direct  }}
  
 ==== Tool pallette ==== ==== Tool pallette ====
Line 106: Line 132:
 **Controls** - to pick up a control for workspace **Controls** - to pick up a control for workspace
  
-{{ tool_palette_36_cropped.png?direct&300 }} +{{ network:tool_palette_36_cropped.png?direct&300 }} 
 +hidden_editor
 **Properties** - to modify control's properties **Properties** - to modify control's properties
  
-{{ ::properties_tab.png?direct&300 }}+{{ network:properties_tab.png?direct&300 }}
  
 **Group** - group operatoins for selections with more than one control **Group** - group operatoins for selections with more than one control
Line 116: Line 142:
 **>** - toggles toolbox location from left to right  **>** - toggles toolbox location from left to right 
  
-{{ group_operations.png?direct&300 }}+{{ network:group_operations.png?direct&300 }}
  
 ==== Dynamic properties ==== ==== Dynamic properties ====
Line 124: Line 150:
 The controls reflects the process or system being monitored state changings its properties which in their turn are linked to the register values. This is called dynamic properties. For exammple, a button coordinates, layer, size are static (constant), while the button text or color may change dynamically.  The controls reflects the process or system being monitored state changings its properties which in their turn are linked to the register values. This is called dynamic properties. For exammple, a button coordinates, layer, size are static (constant), while the button text or color may change dynamically. 
  
-{{dynamic_prop_button.png?direct&30 |}} - this mini button marks the control's property which can be dynamic. E.g. for the LED control these properties may be dynamic:+{{network:dynamic_prop_button.png?direct&30 |}} - this mini button marks the control's property which can be dynamic. E.g. for the LED control these properties may be dynamic:
  
-{{ led_properties.png?direct&600 }}+{{ network:led_properties.png?direct&600 }}
  
 If the element has dynamic property enabled, this button becomes colorized: If the element has dynamic property enabled, this button becomes colorized:
  
-{{ dyn_prop_set.png?direct&300 }}+{{ network:dyn_prop_set.png?direct&300 }}
  
 The example of dynamic property setup dialog is given below: The example of dynamic property setup dialog is given below:
  
-{{ dynamic_property_setup.png?direct&800 }}+{{ network:dynamic_property_setup.png?direct&800 }}
  
 In the example the //Color// property of the LED is controlled from the **DS0** register . If the register has 0 or 1 value, color property will change accordingly to green or red (also it will blink when DS0 = 1).  In the example the //Color// property of the LED is controlled from the **DS0** register . If the register has 0 or 1 value, color property will change accordingly to green or red (also it will blink when DS0 = 1). 
Line 140: Line 166:
 Propertiies can match not only to specific register values, but to state, bit, or some range:  Propertiies can match not only to specific register values, but to state, bit, or some range: 
  
-{{ dynamic_property_listbox.png?direct&500 }}+{{ network:dynamic_property_listbox.png?direct&500 }}
  
 The **Add** button serves to extend the properties set, with only __exception__ - if you choose **get register's value**, then this value itself will become color RGB mask, height in pixels, rotation angle or other control's property.  The **Add** button serves to extend the properties set, with only __exception__ - if you choose **get register's value**, then this value itself will become color RGB mask, height in pixels, rotation angle or other control's property. 
Line 149: Line 175:
   * Hide, X/Y position, Width and Height, Rotation angle   * Hide, X/Y position, Width and Height, Rotation angle
  
-{{ 2018-09-25_10-27-34.gif }}+{{ network:2018-09-25_10-27-34.gif }}
  
-==== Controls description before 3.4 fw version ====+===== Controls description before 3.4 fw version =====
  
 ---- ----
 The overview of controls is presented on the following animated picture. This set is for WebHMI firmware version up to 3.4 version. For 3.5 and above versions there are extra controls available which will be given in the end of the article. The overview of controls is presented on the following animated picture. This set is for WebHMI firmware version up to 3.4 version. For 3.5 and above versions there are extra controls available which will be given in the end of the article.
  
-{{ ::controls_overview.gif?direct |}}+{{ network:controls_overview.gif?direct |}}
  
 ---- ----
  
-=== LED control ===+==== LED control ====
  
 LED has the following properties: LED has the following properties:
Line 169: Line 195:
   ***3D** - adds gradient to LED for 3D effect   ***3D** - adds gradient to LED for 3D effect
   ***Round corners** - if checked the LED shape will become round   ***Round corners** - if checked the LED shape will become round
-{{:led.jpg?direct&50|}}+{{network:led.jpg?direct&50|}}
   ***Lock position** - protect LED's coordinates from unintentional changes, but still the element can be deleted.   ***Lock position** - protect LED's coordinates from unintentional changes, but still the element can be deleted.
   ***Layer** - arrows send control to layer (bottom, lower, higher, top)   ***Layer** - arrows send control to layer (bottom, lower, higher, top)
Line 179: Line 205:
 ---- ----
  
-=== Text value ===+==== Text value ====
  
   ***Label** - It is a text before register value text   ***Label** - It is a text before register value text
Line 196: Line 222:
 After click on the text with 'allow change value' enabled, a pop-up dialog will displayed: After click on the text with 'allow change value' enabled, a pop-up dialog will displayed:
  
-{{::text-edit_pop_up.png?direct&250|}}+{{network:text-edit_pop_up.png?direct&250|}}
  
 (d) - means the property can be dynamic (d) - means the property can be dynamic
Line 202: Line 228:
 ---- ----
  
-=== Button ===+==== Button ====
  
-  ***Transparent** - the button will be invisible but working. E.g. to lay it over the image. +  ***Transparent** - the button will be invisible but working. E.g.to lay it over the image. 
   ***Press color** - when pressed, the button will change color to this color   ***Press color** - when pressed, the button will change color to this color
   ***Icon** - there is a set of ready icon which cab be placed before or instead button label   ***Icon** - there is a set of ready icon which cab be placed before or instead button label
Line 219: Line 245:
 ---- ----
  
-=== Image ===+==== Image ====
  
   ***Image** - this image is the default image on display, when no register is linked to the image or no dynamic property for the image is defined   ***Image** - this image is the default image on display, when no register is linked to the image or no dynamic property for the image is defined
Line 229: Line 255:
 ---- ----
  
-=== Progress bar ===+==== Progress bar ====
  
   ***Orientation** - defines horizontal or vertical type for the progress bar    ***Orientation** - defines horizontal or vertical type for the progress bar 
Line 238: Line 264:
 ---- ----
  
-=== Gauge ===+==== Gauge ====
  
 The gauge imitates physical metering device with arrow or other point moving along the ruler. And has almost the same settings as in progress bar: The gauge imitates physical metering device with arrow or other point moving along the ruler. And has almost the same settings as in progress bar:
Line 246: Line 272:
 ---- ----
  
-=== Round gauge === +==== Round gauge ==== 
  
 The round gauge also imitates physical metering device with __rotating__ arrow. The round gauge also imitates physical metering device with __rotating__ arrow.
Line 262: Line 288:
 ---- ----
  
-=== Slider ===+==== Slider ====
  
 The slider also imitates physical sliders allowing to set value and see it's current value as position.  The slider also imitates physical sliders allowing to set value and see it's current value as position. 
Line 277: Line 303:
 ---- ----
  
-=== Edit Box ===+==== Edit Box ====
  
 The edit box is almost the same as text control but allows to edit value without pop-up dialog like in text control. The edit box is almost the same as text control but allows to edit value without pop-up dialog like in text control.
Line 283: Line 309:
 ---- ----
  
-=== Recipes list ===+==== Recipes list ====
  
 You can select which recipe to apply with this control.  You can select which recipe to apply with this control. 
Line 292: Line 318:
 ---- ----
  
-=== Video stream ===+==== Video stream ====
  
 If there is configured video stream in the project, it can be shown on the dashboard with this control.  If there is configured video stream in the project, it can be shown on the dashboard with this control. 
  
-{{:camera_icon.png?direct&150|}}+{{network:camera_icon.png?direct&150|}}
  
   ***Video stream** - selection listbox for videstreams    ***Video stream** - selection listbox for videstreams 
Line 302: Line 328:
 ---- ----
  
-=== Group ===+==== Group ====
  
 Several controls related to some device, unit, area etc. can be distinguished with group for convinience. Several controls related to some device, unit, area etc. can be distinguished with group for convinience.
Line 311: Line 337:
 ---- ----
  
-=== Messages table ===+==== Messages table ====
  
 The messages from the message log can also be shown on the dashboard with this control.  The messages from the message log can also be shown on the dashboard with this control. 
Line 328: Line 354:
 ---- ----
  
-=== Trend ===+==== Trend ====
  
 Up to three register values can be displayed in a trend for the dashboard.  Up to three register values can be displayed in a trend for the dashboard. 
Line 336: Line 362:
   ***Refresh rate** - data refresh rate for the trend referenced to dashboard refresh rate ( 1 / [1,2,4,8,16,32,64])   ***Refresh rate** - data refresh rate for the trend referenced to dashboard refresh rate ( 1 / [1,2,4,8,16,32,64])
  
-==== Controls available from 3.5 fw version and above ====+===== Controls available from 3.5 fw version and above =====
  
 ---- ----
-=== Radial indicator ===+==== Radial indicator ====
  
 This control resembles a progress bar that has a round shape.  This control resembles a progress bar that has a round shape. 
  
-{{ ::radial_indicators..png?direct&400 |}}+{{ network:radial_indicators..png?direct&400 |}}
  
  
Line 353: Line 379:
  
 ---- ----
-=== Polyline ===+==== Polyline ====
 The polyline has multiple segments and nodes. You can change its width, corners radius, add arrows and make it dotted. With __Closed polyline__ checkbox, two ends nodes will combine into a single one.  The polyline has multiple segments and nodes. You can change its width, corners radius, add arrows and make it dotted. With __Closed polyline__ checkbox, two ends nodes will combine into a single one. 
  
Line 360: Line 386:
   ***To remove a node/segment**: "left Alt + click" the node inside the polyline or endpoint to remove the whole segment    ***To remove a node/segment**: "left Alt + click" the node inside the polyline or endpoint to remove the whole segment 
  
-{{pline_gif.gif}}+{{network:pline_gif.gif}}
  
 There are new properties for the polyline and every control in the 3.5 fw and above: There are new properties for the polyline and every control in the 3.5 fw and above:
Line 368: Line 394:
 ---- ----
  
-=== Rectangle, ellipse and circle ===+==== Rectangle, ellipse and circle ====
  
 There are ready shapes with properties adjustments similar to previous controls.  There are ready shapes with properties adjustments similar to previous controls. 
  
-{{rec_circle_oval.png?nolink&400}}+{{network:rec_circle_oval.png?nolink&400}}
  
-=== Switch ===+==== Switch ====
  
 This control toggles value between two values, and has similar properties to button. You can also run script, apply recipe etc.  This control toggles value between two values, and has similar properties to button. You can also run script, apply recipe etc. 
  
-{{sw_demo.gif }}+{{network:sw_demo.gif }}
  
  
-=== Dictionary list ===+==== Dictionary list ====
  
-This control gives the possibility to choose some pre-defined options in the dropdown list. The prerequisite for this control is that the register you want to bind to it, should already have link to the existing dictionary. +This control gives the possibility to choose some pre-defined options in the dropdown list aka picker. The prerequisite for this control is that the register you want to bind to it, should already have link to the existing dictionary. 
 You can also create a lua script that will run upon this register change and load some data to the dashboard or make other actions.  You can also create a lua script that will run upon this register change and load some data to the dashboard or make other actions. 
-{{ ::dict_plate_link.png?direct&300 |}}+{{ network:dict_plate_link.png?direct&300 |}}
  
 This control is available staring from fw 4.0.7161, and before that recipe dropdown lists had been used for the same purpose.  This control is available staring from fw 4.0.7161, and before that recipe dropdown lists had been used for the same purpose. 
  
-{{ dict_list.gif }}+{{ network:dict_list.gif }}
  
  
  
- +==== Object inspector ====
- +
- +
- +
- +
-==== Object insector ====+
  
 The object inspector makes it easy to work with components on the dashboard, displaying them in a tree, as in graphic editors. With it, you can quickly select the necessary objects and perform the necessary manipulations with them: copy, delete, group, hide, change attributes for several objects etc. The object inspector makes it easy to work with components on the dashboard, displaying them in a tree, as in graphic editors. With it, you can quickly select the necessary objects and perform the necessary manipulations with them: copy, delete, group, hide, change attributes for several objects etc.
-{{ object_inspector.gif |}}+{{ network:object_inspector.gif |}}
  
 To change the attributes of the selected individual item, you just switch to //Properties// tab right after object selection. To change the attributes of the selected individual item, you just switch to //Properties// tab right after object selection.
Line 407: Line 428:
 Right click on the object in the tree, gives more options: Right click on the object in the tree, gives more options:
  
-{{ ::obj_inspector_options.png?direct&300 |}}+{{ network:obj_inspector_options.png?direct&300 |}}
  
 ===== Pop-up dashboard ===== ===== Pop-up dashboard =====
Line 413: Line 434:
 The pop-up dialog can be done with this type of dasboard.  The pop-up dialog can be done with this type of dasboard. 
  
-{{ ::popup.png?direct&600 |}}+{{ network:popup.png?direct&600 |}}
  
 To create a pop-up dashboard you use link to dashboard property for a button and then there will be checkbox to make the dashboard a pop-up one.  To create a pop-up dashboard you use link to dashboard property for a button and then there will be checkbox to make the dashboard a pop-up one. 
  
-{{ ::popup_dashboard.png?direct&400 |}}+{{ network:popup_dashboard.png?direct&400 |}} 
 + 
 +===== Newer controls available since 4.1 fw version ===== 
 + 
 +==== Mode indicator ==== 
 + 
 +A typical task when visualizing multi-step or multi-mode production processes is showing their actual state with the dictionary, like “Standby”, “Mixing”, “Discharge” etc. The mode indicator is a handy tool, showing all possible states of an object and highlights the current state, that shows clearly what will be the next, what was before, we are starting or finishing. The component is linked with the register, which in turn is linked with the dictionary, and then you just write to the register a number, reflecting the process state. 
 + 
 +{{ network:mode_indicator.png?direct&150 |}} 
 + 
 +==== Date picker ==== 
 + 
 +The date picker for dashboards – is a common user interface calendar date picker element, which accepts user input and stores it as a single unix time number in an internal register. Using embedded lua functions you can get required day, week day, hour, mituen etc. and use them in the control logic. Before a whole dashboard with many fields would have been required for this. 
 + 
 +{{ network:data_picker.png?direct&400 |}} 
 + 
 +==== Increase/decrease value in the edit value contro ==== 
 + 
 +Edit box has got new features – now you can increment/decrement value with software buttons. This mode is more convenient on mobile devices, not involving a keyboard for entering a value. 
 + 
 +{{ network:inc_dec_value.png?direct&200 |}} 
 +===== Dynamic properties inpector ===== 
 + 
 +==== Show dynamic properties checkbox ==== 
 + 
 +There is a possibility to see all the dynamic properties that is set to dashboard elements i.e. values of registers to be displayed.  
 +{{ :dashboards:dyn-prop:dash_view.png?direct&1000 |}} 
 +To do this, click on the icon in the left bottom corner 
 +{{ :dashboards:dyn-prop:editor.png?direct&1000 |}} 
 +{{ :dashboards:dyn-prop:check_dyn.png?direct&1000 |}} 
 +It is can be useful e.g., for making clone of dashboard, and to not forget to rebind registers to avoid inappropriateness or just to get to know about dashboard element's behaivour.   
 + 
 + 
 +==== Show hidden checkbox ==== 
 +Due to cleanliness and convenience there is a possibility to hide visual display of a picture only in the editor, but it still be visible on dashboard. 
 +You can hide this via [[dashboards#object_inspector|Object Inspector]]. 
 +{{ :dashboards:dyn-prop:unhidden.png?direct&1000 |}} 
 +Hidden object will dissapear from editor and can't be selected anymore. Despite, it still visible on the dashboard. 
 +{{ :dashboards:dyn-prop:hidden_selected_tree.png?direct&1000 |}} 
 +Due to cleanliness and convenience there is a possibility to hide visual display of a picture only in the editor, but it still be visible on dashboard. 
 + 
 +To see this objects there is an another checkbox. 
 +With this checkbox you can show hidden objects via [[dashboards#object_inspector|Object Inspector]], but not via [[dashboards#dynamic_properties|"Hide" checkbox]]. It will make borders visible or dynamic properties if it is present. 
 + 
 +{{ :dashboards:dyn-prop:comparision.png?direct&1000 |}} 
 + 
 +If there is dynamic properties it will look like this 
 +{{ :dashboards:dyn-prop:hidden_with_dyn_props.png?direct&1000 |}} 
 + 
 + 
 +---- 
 + 
 +===== JavaScript for dashboard ===== 
 + 
 +{{ network:js_logo.png?100|}} 
 +Sometimes, a project needs something missing in the firmware (in terms of visualization). Then it can be done with such a script, turn to your supplier for more details. 
 + 
 +The following are some application examples: 
 + 
 +1. The customer, after the completion of a large project, asked to change the color scheme for the screens to the appropriate "corporate style", which would mean a large amount of work on redrawing the visualization. The question was solved by adding small javascript for the dashboard. 
 + 
 +2. There was a task of creating a report based on the screen, in which the start and end times of the viewing window would be automatically set for the graph and the parameter(s) on the graph would be changed to desired.  
 + 
 +3. "Smooth" movement of visualization elements without being tied to the scan time. 
 + 
 +4. Drawing custom XY graph. 
 + 
 +5. Other custom user interaction which can not be done with standard tools. E.g. with the dashboards made on templates, you can not make subsitutions in the descendants for some elements, like links to other dashboards. However, you may override the link property (which may lead to target page) of the button depending on the dashboard where this button is. 
 + 
 +6. Downloading graph data with full data set. The graphs in WebHMI can be exported into csv/xls/html files, however, the output file will contain only the data corresponding current graph view scale (e.g. if your viewing area is 1024 px wide, only these data pixels will be downloaded). If you need to have full data export tool in the WebHMI project, you can make it with the JS for dashboards.  
 + 
 +etc. 
 +== Object properties control example == 
 + 
 +<code javascript> 
 +// Image rotation example  
 +var IMAGE_ID = 2; 
 +var currentAngle = 0; 
 +  
 +function setAngle() { 
 +    setObjProperty(IMAGE_ID, {angle:currentAngle});  
 +    currentAngle = currentAngle + 10; 
 +    if (currentAngle >= 360) { 
 + currentAngle = 0} 
 +    } 
 +
 + 
 +setInterval(setAngle, 40); // will be called every 40 ms  
 + 
 +</code> 
 + 
  
  
dashboards.1596200635.txt.gz · Last modified: 2020/07/31 13:03 by atolstov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki