Перейти к содержанию

Навигация

WBIO-AI-DV-12 Analog Inputs/en: различия между версиями

Новая страница: «For each channel, you can specify a conversion factor (scale) corresponding to the measurement mode. Restartujte service wb-mqtt-serial after changes: <code>> ser…»
(Новая страница: «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.  


Для каждого канала можно указывать свой коэффициента пересчета (масштаб), соответствующий режиму измерения. Рестартуйте сервис wb-mqtt-serial после внесения изменений:
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>
Наиболее правильным способом является установка параметра масштаба измерений в настройке каналов в конфигурации устройства. Допустим, мы хотим измерять на первом дифференциальном входе напряжение в дианазоне ±50 В.  
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.  
Для этого выполняем следующие настройки. В свойствах устройства добавляем список каналов (List if channels), щелкнув на кнопке '''Properties''', а затем добавляем канал, щелкнув на кнопке '''+Item'''.
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.
В настройках канала оставляем только поле для указания коэффициента пересчета (Scale (value multiplier)), остальные опции отключаем:
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''' вверху экрана.
Save changes with the '''Save''' button at the top of the screen.
<br />
<br />


12 063

правки