Differences

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

Link to this comparison view

dglux5_wiki:workspace_and_workflow:panels_and_menus:metrics_panel [2019/07/17 19:17] (current)
Line 1: Line 1:
 +{{indexmenu_n>​4}}
 +====== Metrics Panel ======
 +The Metrics panel contains values and histories for the currently selected node in the [[dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​data_panel|Data panel]]. By default, it is located at the bottom left corner of the DGLux5 workspace.
  
 +{{:​dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​dglux5_metrics_panel.png|}}\\
 +//The location of the Metrics panel//
 +
 +For the selected Data panel node, the Metrics panel shows children that have values or histories. These values and histories can be dragged from the Metrics panel to components or the dataflow, to create bindings and logic.
 +
 +The Metrics panel is visible only when the [[dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​data_panel|Data panel]], as opposed to the [[dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​project_panel|Project panel]], is selected. If the Project panel is selected, the [[dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​details_panel|Details panel]] appears instead of the Metrics panel.
 +
 +----
 +
 +===== Bind a Metric to a Property =====
 +To create a binding from a metric in the metrics panel to a component, follow the steps in [[dglux5_wiki:​bindings:​home#​bind_from_a_data_metric|Bind from a Data Metric]].
 +
 +----
 +
 +===== Create a Load Value or Load History Block =====
 +To get the value or history of a metric, as well as additional information such as path and units, you can use a [[dglux5_wiki:​dataflow:​dataflow_blocks_reference:​data_services:​load_value|Load Value]] or [[dglux5_wiki:​dataflow:​dataflow_blocks_reference:​data_services:​load_history|Load History]] dataflow block.
 +  - <​WRAP>​Open the Dataflow window for some item in the project. For example, you could right-click the Stage in the [[dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​outline|Outline]],​ and select {{:​dglux5_wiki:​92_icn-dataflow-icon.png|}} **Dataflow**.
 +
 +{{:​dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​dglux5_data_panel_2.png|}}</​WRAP>​
 +  - <​WRAP>​Drag an item from the Metrics panel into the [[dglux5_wiki:​dataflow:​home|dataflow]] window. Drag the {{:​dglux5_wiki:​79_chart-up.png|}} **History** icon to get the history, or any other part of the node to get the value.
 +
 +{{:​dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​dglux5_metrics_panel_1.png|}}
 +
 +A Load Value or Load History dataflow block is added.</​WRAP>​
 +  - <​WRAP>​Click the red bar of the dataflow block to select it.
 +
 +Information about the value or history is displayed in the Dataflow window'​s properties panel.
 +
 +{{:​dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​dglux5_metrics_panel_2.png|}}</​WRAP>​
 +
 +----
 +<WRAP left>​[[dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​data_panel|Previous:​ Data Panel]]</​WRAP>​
 +<WRAP right>​[[dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​details_panel|Next:​ Details Panel]]</​WRAP>​