Advanced Slider Module

The slider input allows variable selection of input values for ship systems. Sliders are commonly used to allocate power and have features that reflect this.

The slider module is made up of two sliders. The primary slider is blue and displays the value of a primary variable, usually the power input to a system. This variable can be adjusted by the user to by sliding the top of the blue slider up or down.

The secondary slider is grey and displays the value of a secondary variable, usually the allocated resource available to be selected by the user (for example to amount of power made available to the system being controlled). This grey slider will usually take up the entire background of the module’s graticule but will occupy only part of the graticule where allocated availability drops below the slider’s full range.

The primary slider cannot be set above the maximum value of the secondary slider. Where the secondary slider value falls below the blue slider’s currently set level, the blue slider falls to the same level as the secondary slider.

Where no secondary value is required, the secondary slider can be configured off and will simply display as a background colour.

Granularity

The granularity of input value changes caused by sliding can be adjusted to the desired decimal point.

Display Modes

The slider has a number of display options.

Numeric Display

Numeric display of the currently selected value can be set to actual value or percentage (of variable) maximum.

Embed Mode

The slider may be used as a stand alone module or embedded in another module.

Mode 0: Standalone

The slider is used included in the panel as a standlone module. This mode is typically used for systems where there is a single primary power input (such as the main engines, for which the only primary input is the power level).

Mode 1: Embedded

The slider is included in another module as one of a number of primary inputs. The slider still requires its own configuration and its position is relative to the panel (not to the containing module).

Data Interaction Modes

The slider has a number of data interaction modes which determine the datapoints the slider works with.

Mode 1: Intergrid

In this mode, both the primary and secondary sliders interact with the intergrid specified in the configuration.

Mode 2: Intergrid with PDN Power Source

This mode is used when the slider is controlling the power supply to a system.

The primary slider interacts with the intergrid specified in the configuration.

The secondary slider (ie available power) is set by the system's PDN node (defined in the configuration as secIntergrid, which is set as node's ID). All upstream interfaces for that node are added together to produce this variable.

Mode 3: PDN

This mode is used by the PDN control interface.

Both the primary and secondary sliders interact with the PDN nodes specified in the configuration.

For the primary slider either an upstream or downstream interface is be selected in the configuration. A specific tap (1, 2 or 3) is also selected. The slider then sets the desired power allocation.

The secondary slider displays the available power either from the upstream node it is connected to (if an upstream slider) or the total power allocation to the current node (if a downstream slider).

Multiplier

In either mode 2 or 3, a multiplier can be determined which will convert between the PDN value and the value used by the slider. This allows for different scales to be used by the system being controlled and the PDN, where for example the control outputs in a different unit such as GN (eg main engines) than the PDN (which uses KW).

Intergrid Configuration

The advanced slider can output to intergrid if needed by selecting the target intergrid and configuring the target parameters.

The depth of the parameter is selected based on the JSON path to the variable, with any the name of any nested objects containing the variable specified.