Circular Pointer Gauge
The circular pointer gauge shows values on a round dial, similar to a car tachometer or speedometer. The needle points to the value's place within the range. It suits data with clear limits, such as rotation speed, vehicle speed, or pressure.
Each channel has its own dial, and the dials are placed side by side. When there are many channels, scroll horizontally to see them all.
Data Requirements
- The number of values must be at least the number of channels. The first value goes to the first channel, and so on.
- The plugin does not convert units. Values are compared with the channel range as received.
Data Source
For the general data input rules, such as the prefix and separator, variable checking, and refresh modes, see the Plugins Overview. This section covers only the behavior specific to this plugin.
Text Split (Default)
- If there are fewer values than channels, the whole data item is ignored, and all dials keep their previous display.
- If there are more values than channels, the extra values are ignored.
- Empty parts are skipped and do not take up a channel position. For example,
45,,80gives only two values. - If a value cannot be converted to a number, only its channel keeps the previous display. The other channels still update.
- If the Separator is empty, all received data is ignored.
Example: the Prefix is empty, the Separator is ,, and both channels use the default range of 0 to 100. When 45,80 is received, the two needles point to 45 and 80.
If the Prefix is set to $GAU,, only data such as $GAU,45,80 is processed. Other data is ignored.
Variable Rendering
- The number of checked numeric variables sets the number of channels. This count is not limited to 1 to 10.
- Each channel name shows the variable name. The name cannot be edited. In variable mode, channels cannot be added or removed in the Channels dialog.
- The variable list is locked while Enable variable mode is on. To change the checked variables, turn off Enable variable mode first.
- When you turn on variable mode, the number of channels changes to match the number of variables. New channels use the default colors and a range of 0 to 100.
- After you leave variable mode, the number of channels does not exceed the number before you entered it. Channels removed while in variable mode are not restored automatically.
- In variable mode, the received text is not parsed. All values come from the variables.
Channel Settings
- There is one channel by default. It is named "Channel 1", is blue, and has a range of 0 to 100.
- In the Channels dialog, you can add or remove channels. The number of channels ranges from 1 to 10. In variable mode, the number of channels is set by the variables instead (see Variable Rendering above).
- The left side of the Channels dialog is the channel list. The right side shows the settings of the selected channel. Each channel has these settings:
- Name: the title above the dial. If the name is empty, no title is shown above the dial, and the channel list shows "Channel N".
- Unit: shown below the readout.
- Color: click Select color to choose the channel color. The needle uses this color, and the name uses a darker shade of it.
- Range minimum and range maximum: the start and end of the scale. The range is set to two decimal places, and its valid values are -1000000 to 1000000.
- Show this channel: uncheck to hide the channel. A hidden dial is faded, shows
--, and no longer receives new values. A hidden channel still takes one value position, so the received data must still include its value.
Display
- The scale starts at the lower-left (the range minimum), sweeps 270° clockwise over the top, and ends at the lower-right (the range maximum). The bottom of the dial is open.
- The dial has 11 major ticks that divide the range evenly. Each major tick has a number. Between two adjacent major ticks there are 4 minor ticks. Tick numbers with an absolute value below 10 show 1 decimal place, and other numbers are shown as whole numbers.
- A red arc on the inside of the dial always covers 80% to 100% of the range. It marks the warning zone. This ratio cannot be changed or turned off in the interface.
- The needle is a triangle in the channel color. Before the first value arrives, the needle is gray and rests at the range minimum.
- The lower half of the dial shows the current value and unit. Values with an absolute value below 10 show 2 decimal places, and other values show 1. Before any valid data arrives, it shows
--. - The channel name appears above the dial. If the name is empty, no title is shown.
- Each dial is at least 140 × 150 pixels. When the dials do not fit in the window, scroll horizontally.
Toolbar
The buttons are listed from left to right.
| Icon | Button | Description |
|---|---|---|
| Channels | Opens the Channels dialog to edit each channel's name, unit, color, range, and visibility, or to add or remove channels. Changes take effect immediately. | |
| Variable | Opens the Variable rendering settings dialog to check numeric variables, turn on Enable variable mode, and set Refresh mode and Refresh interval. The button is selected when variable rendering is on. | |
| Text | Opens the Text split settings dialog to turn on Enable text mode and set the Prefix and Separator. The preview example below the fields shows how the text is split. The button is selected when text split is on. | |
| Help | Opens this plugin's online help page in your browser. |
Value Handling
- The needle position is set by the value's place within the range. When the value is outside the range, the needle stops at the end, and the readout still shows the original value.
- When the range maximum is not greater than the range minimum, the needle stays at the range minimum position.
- When the value changes, the needle turns with an animation of about 280 ms, and the readout changes with it. The first value received sets the needle directly, without an animation.
Notes
- Any change to a channel setting (name, unit, color, range, or visibility), or switching variable mode, rebuilds all dials. The needles return to the no-data state, and the readouts show
--until the next valid data arrives. - Turning on variable mode automatically turns off text split. After variable mode is turned off, text split does not turn on again automatically.
- When text split and variable rendering are both off, the plugin splits received text by English commas.
