12 063
правки
(Новая страница: «Previously, when connecting the module via WB-MIO or WB-MIO-E, there was no possibility to select the input mode from the web interface. We recommended creating c…») |
(Новая страница: «For each channel, you can specify a conversion factor (scale) corresponding to the measurement mode. Restartujte service wb-mqtt-serial after changes: <code>> ser…») |
||
Строка 214: | Строка 214: | ||
Previously, when connecting the module via WB-MIO or WB-MIO-E, there was no possibility to select the input mode from the web interface. We recommended creating copies of the config-wbio-ai-dv-12-single.json template stored on the controller in the folder <code>/usr/share/wb-mqtt-serial/templates/config-wbio-ai-dv-12-single.json </code>, and make changes to the copy (the file must have a different name). It was necessary to change the device type in the template, for example, to <code>"device_type": "WBIO-AI-DV-12-Single-50v",</code>. After that, you had to restart the wb-mqtt-confed service and refresh the web page to make the new device type available in the configuration. | Previously, when connecting the module via WB-MIO or WB-MIO-E, there was no possibility to select the input mode from the web interface. We recommended creating copies of the config-wbio-ai-dv-12-single.json template stored on the controller in the folder <code>/usr/share/wb-mqtt-serial/templates/config-wbio-ai-dv-12-single.json </code>, and make changes to the copy (the file must have a different name). It was necessary to change the device type in the template, for example, to <code>"device_type": "WBIO-AI-DV-12-Single-50v",</code>. After that, you had to restart the wb-mqtt-confed service and refresh the web page to make the new device type available in the configuration. | ||
For each channel, you can specify a conversion factor (scale) corresponding to the measurement mode. Restartujte service wb-mqtt-serial after changes: | |||
<code>> service wb-mqtt-serial restart<br>> service wb-mqtt-confed restart</code> | <code>> service wb-mqtt-serial restart<br>> service wb-mqtt-confed restart</code> | ||
The most correct way is to set the measurement scale parameter in the channel setup in the device configuration. Let's say we want to measure the voltage in the ±50 V range at the first differential input. | |||
To do this, perform the following settings. In the device properties, add a channel list (List if channels) by clicking on the 'Properties' button, and then add a channel by clicking on the '''+Item'''button. | |||
In the channel settings, we leave only the field for specifying the conversion factor (Scale (value multiplier)), the other options are disabled: | |||
Specify the channel name (as in the interface) and conversion factor. | |||
Save changes with the '''Save''' button at the top of the screen. | |||
<br /> | <br /> | ||
правки