Overview
Adds a series of inputs for configuring multiplexer devices.
One or more multiplexer devices can be added and their serial number, number of channels, and assigned sensors on each channel can be configured.
This control supports configuring multiplexers with split-channel capability.
Custom Configuration
For common configuration values, see UI Controls. Configuration values specific to this control are:
Config Property | Type | Description | Example Values |
options | Map |
A map of channel options to show for each multiplexer. For each option, "label" should be a String, and "value" should be a positive integer. This controls the number of channel assignments that are shown for each multiplexer added to the device. This is a required config property. |
options:
|
muxLabel |
String |
The label to show when referring to multiplexers (for example, when adding or deleting them). Defaults to "Multiplexer". This is an optional config property. |
muxLabel: AquaTROLL
|
muxIdLabel | String |
The label to show next to the "serial number" input of each multiplexer. This is an optional config property. |
muxIdLabel: SmartId
|
muxIdDefaultValue |
Any |
The default value of the "serial number" input of each multiplexer, if no value exists in the device configuration. This is an optional config property. |
muxIdDefaultValue: 1
|
disableSplit | Boolean |
If "true", split-channel configuration options will be disabled. This is an optional config property and split-channel configuration options are enabled by default for this control. |
disableSplit: true
|
maxMuxCount | Number |
The maximum number of multiplexers that can be added to a single device. This is an optional config property. |
maxMuxCount: 255
|
Examples
- id: channelSplitMultiplexerConfig
modelPath: props
layout: first-column
config:
label: Multiplexer Configuration
muxIdLabel: SmartId
disableSplit: false
maxMuxCount: 255
options:
- label: 4 Channels
value: 4
- label: 8 Channels
value: 8
- label: 12 Channels
value: 12
- label: 16 Channels
value: 16
Comments
0 comments
Please sign in to leave a comment.