Logo Logo en
  • iRidi Pro
    Основные компоненты
    • Приложение i3 Pro
    • iRidi Pro Server
    • iRidi Studio
    • iRidium studio v. 1.3.8 (устаревшая версия)
    Java Script в iRidi
    • Руководство
    • Справочник
    • Примеры
    • JS драйвера
    другие
    • Личный Кабинет
    • iRidium Cloud
    • iRidium Transfer
    • Push-уведомления
    • Лучшая практика
    Лицензирование
    • Лицензирование и передача проекта
    • Оффлайн-лицензирование
    • Активация iRidi Pro Server
  • Продукты
    i3 lite
    • Приложение i3 lite
    • Регистрация и лицензирование
    • Сервер
    • Модули
    KNX Home Server
    • Приложение i3 KNX
    • KNX Home Server
    BUS77 HOME SERVER
    • Приложения Bus77 Home и Bus77 Lite
    • Bus77 Home Server
    Решения
    • BYOD - решение для гостиниц
    • Портал жителя - решение для МКД
    iRidi SCADA
    • iRidi SCADA
  • Bus77
    НАСТРОЙКА BUS77
    • Основы Bus77
    • Приложения Bus77 Home и Bus77 Lite
    • Работа с драйвером Bus77 в iRidi Studio
    • Настройка шины Bus77 в iRidi Studio
    ПРОТОКОЛ BUS77
    • Характеристики CAN (Bus77)
    • Описание протокола
    • Исходники на GitHub
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
  • Поддерживаемое оборудование
    Драйверы
    • Список драйверов
    • ProAV драйвера
    • AV & Custom Systems
    • JS драйвера
    • Сторонние драйвера и фриланс
    Протоколы и интерфейсы
    • Голосовое управление
    • 1-Wire
    • BACnet IP
    • Bus77
    • KNX
    • KNX IP BAOS
    • Weinzierl kBerry
    • Microsoft Exchange
    • Modbus
    • MQTT
    • NFC
    • ODBC
    • Onvif
    • SIP
    • SNMP
    • Wake On Lan
    • Z-Wave
    • ZigBee
    Производители
    • AMX
    • AVCiT
    • Beckhoff ADS
    • Biamp Tesira
    • Bluesound
    • Casambi
    • BSS Harman
    • Clipsal
    • ControlArt 7Port
    • Crestron
    • DigiBird
    • Domintell
    • Duotecno
    • EIDE
    • EPSNET
    • Global Cache
    • HDL Buspro
    • Helvar
    • IEAST
    • INELS BUS
    • INELS Wireless
    • Intesis
    • Kleger
    • Kramer VIA
    • Kramer 3000
    • Larnitech
    • Legrand Netatmo
    • LG TV
    • Lutron
    • Lutron Homeworks QS
    • MyHome
    • Nest
    • Novastar
    • Panasоnic PTZ
    • Philips Dynalite
    • PJLink
    • Satel
    • SamsungTV
    • Sonos
    • Somfy
    • SpinetiX
    • Televic Conference
    • TIS
    • Tion
    • URRI
    • Velbus
    • Velocio
    • Vinteo
    • WyreStorm
    • WiiM
    • Xicato
    • Yamaha
    • ZONT
    • Z-Wave.me
    Протестированное оборудование
    • Панель HDL S57
    • Панель HDL S10
    • SIP-домофон
    • Akuvox
    • Arlight
    • Divus
    • QBic TD-1050 PRO
    • QBic TD-1060 Slim
    • QBic TD-1070
    • Sigur
    • Uni-Ubi
    • Velocio
  • Оборудование iRidi

    Серверы
    • HS Сервер
    • ProAV Control Processor Basic
    • ProAV Control Processor Advanced
    • Спецификация контроллеров UMC
    • Настройка контроллера UMC C2
    • Настройка контроллера UMC C3
    • Настройка контроллера HDL IntelliCenter 2 (UMC C4)
    Модули расширения
    • I-PX-RS1
    • I-PX-RS4
    • I-PX-IR3
    KNX
    • KNX Home Server
    • KNX IP Interface
    Панели управления
    • iRidium Panel 7
    • Touch Panel P3
    • Touch Panel P6
    • Touch Panel P8
    • Touch Panel P10
    • Tabletop Touch Panel 10
    • AV Remote Control
    ОБОРУДОВАНИЕ BUS77
    • Каталог Bus77 Pro
    • Каталог Bus77 Lite
    • Differences
iRidium mobile web-site
Содержание
    Инструменты‌
    • Сведения о странице
    • Постоянная ссылка
    • Версия для печати
    • Спецстраницы
    • Связанные правки
    • Ссылки сюда
    Login / Create Account
    Материал из for iRidium developers
    Перейти к: навигация, поиск
    Эта страница является переводом страницы Forward value to. Перевод выполнен на 97%.

    Other languages:
    English • ‎русский

    Содержание

    • 1 Forward value to. Forwarding values.
    • 2 Description of Work
    • 3 Use of Script Modifier
    • 4 Deletion

    Forward value to. Forwarding values.

    It's a tool in iRidium studio that sends a value from one tag to another one.
    "Forwarding value to" works only in a server project.

    documentation was updated on 12.5.2020

    A new capabiliy appeared in iRidium to send a value from a feedback channel to a command channel and visa versa with the help of the new tag property - Forwarding value to. The tool allows to exclude from a project functions realized via script and give it a comprehensive graphical from with an intuitive interface.

    Example:

    • Server project
    • Panel project

    Description of Work

    Forwarding value to creates a connection between a command and a feedback channel of a driver. It does not depend on the type of a driver (it can work in Virtual driver). When a link to another tag is added a connection is created between the tags, and this connection sends a value the moment itis written in the source.

    IMPORTANT!Forwarding does not work with system or project tokens.

    IMPORTANT!For forwarding to work, select On Server - True in the server properties section of the channel/feedback channel properties.

    Forwarding can be added in several ways:

    1 With the help of drag'n'drop of the source-tag to the area of target-tag opposie it

    If the tag is drap'n'dropped on the field that it filled in, it's value is changed to the new one.

    Forward Drop2.png


    2 With the help of double-click on the source-tag. A dialogue window appears with a selection of tag where to forward a value.

    Forward Drop3.png


    3 By selecting Forward value to in tag properties and selecting a path to the tag where a value must be forwarded.

    Forward Drop4.png

    Use of Script Modifier

    Script Modifier can be used when forwarding a value from one tag to another one. This tag property allows to modify the current value to another value with the help of a function. For example, light values in the 0-100 range to values in the 0-255 range.

    You can read more about modifications on ther server here

    1 Set forwarding a command value to a feedback channel of another device (Virtual driver is used in the example, a value is forwarded from its command to its own feedback channel).

    2 Create a script in the Script editor and write a function (a function to convert 0-100 range to 0-255 range is used in the example). Save it.

    function from100to255 (in_Type, in_Name, in_Value)
    {
       in_Value *= 255/100;
       return in_Value;
    }

    3 Select a function in the Script Modifier line. From100to255 function is selected in the example.

    Forward Script.png

    4 Convert a server project into a panel one. Click right mouse button on the name of a server project and select "Create panel project" in the drop down menu.

    Forward Script2.png

    5 Create a Level (with 0-100 range) in a panel project and drag'n'drop a command on it. Forward a feedback channel of the driver where we'll see a value after modification (in Values, enter $V in the text field)

    Forward Script3.png

    6 Start a server and a panel project. Now you can see the 0-100 value of a level convert into 0-255.

    Forward Script4.png

    Deletion

    Forwarding can be deleted in several ways:

    1 Click the bucket icon in the settings of Forwarding value to

    Forward Drop5.png

    2 Select a required item in the driver tree and click Delete.

    Forward Drop6.png
    Источник — «https://dev.iridi.com/index.php?title=Forward_value_to/en&oldid=89289»
    About us
    Company
    Team
    History
    Philosophy
    Rewards
    Partnership
    Our partner
    Partnership Programs
    Apply for partnership
    products
    iRidium pro
    iRidium lite
    iRidium gate
    iRidium server
    Loads
    iRidium pro
    iRidium lite
    Other version
    Marketing materials
    Support
    On-line courses/Video
    Recommended equipment
    Other version
    iRidium pro
    Documentation
    FAQ
    Forum
    iRidium lite
    Documentation
    Forum
    Projects
    Standart projects
    Smart buildings
    Smart house
    Special solution
    Find a dealer
    News
    Youtube
    Twitter
    VK
    Logo
    contact@iridi.com
    +7 (499) 322-73-29

    Privacy policy