Monitor

From SweepMe! Wiki
Jump to navigation Jump to search

The Monitor is a widget to display the latest measured values of any module in the sequencer in large numbers during a measurement. Add it via the menu Widgets → Monitor → New…, see Dashboard.

Configuration

Double-click the widget to configure it. All modules of the sequencer are listed with their variables in the columns Variable, Display and Alarm:

  • Display: check the variables to be shown.
  • Alarm: an optional rule to change the background color of the value, see Alarm.
  • Digits: the number of significant digits (default 4).
  • Font size: the font size of the displayed values (default 28).

Variables of modules that are unchecked in the sequencer are shown in gray. After a run, the values are shown in gray to indicate that they might not be up to date. Date and time values are shown with date and time.

Alarm

For each displayed variable, an alarm can change the background color of the value during a run. Enter one or more rules separated by a semicolon. Each rule consists of a comparison operator (==, !=, >, <, >=, <=) and a value, optionally followed by a colon and a color. The rules are checked from left to right and the first rule that is fulfilled defines the color. A rule without color uses red. An entry without operator is used as color without condition.

Examples:

  • >50: red background if the value is larger than 50
  • >50:red; <10:blue: red above 50, blue below 10
  • ==0:lime: green background if the value is 0
  • yellow: always yellow

Colors can be HTML color names (e.g. "red", "lime") or "rgb(255,0,0)". The parameter syntax {...} can be used, e.g. to compare with the value of a Form field.