Logo Logo en
  • iRidi Pro
    Major Components
    • i3 pro app
    • iRidi Pro Server
    • iRidi Studio
    • iRidium studio v. 1.3.8 (old version)
    Java Script in iRidi
    • Guide
    • Handbook
    • Samples
    • JS drivers
    others
    • My Account
    • iRidium Cloud
    • iRidium Transfer
    • Push notifications
    • Best practice
    Licensing policy
    • Licensing and giving ownership rights
    • Offline Licensing
    • iRidi Pro Server Activation
  • Products
    i3 lite
    • i3 lite app
    • Registration and licensing
    • Server
    • Modules
    KNX Home Server
    • i3 KNX app
    • KNX Home Server
    BUS77 HOME SERVER
    • Bus77 Home and Bus77 Lite apps
    • Bus77 Home Server
    Solutions
    • BYOD - solution for hotels
    • PMS - solution for buildings
    iRidi SCADA
    • iRidi SCADA
  • bus77_
    SETTING UP BUS77
    • Bus77 Basics
    • Bus77 Home and Bus77 Lite apps
    • Working with the Bus77 driver in iRidi Studio
    • Configuring the Bus77 in iRidi Studio
    BUS77 PROTOCOL
    • Characteristics of CAN (Bus77)
    • Исходники на GitHub
    Bus77 equipment
    • Bus77 Pro catalog
    • Bus77 Lite catalog
  • Works with
    Drivers
    • List of drivers
    • ProAV Drivers
    • AV & Custom Systems
    • JS drivers
    Protocols and interfaces
    • Voice Control
    • 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
    Manufacturers
    • 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
    Tested equipment
    • HDL S57 panel
    • HDL S10 panel
    • Intercom (SIP)
    • Akuvox
    • Arlight
    • Divus
    • QBic TD-1050 PRO
    • QBic TD-1060 Slim
    • QBic TD-1070
    • Sigur
    • Uni-Ubi
    • Velocio
  • iRidi equipment

    Servers
    • HS Server
    • ProAV Control Processor Basic
    • ProAV Control Processor Advanced
    • UMC Controller Specification
    • UMC C2 setting up
    • UMC C3 setting up
    • HDL IntelliCenter 2 (UMC C4) setting up
    Модули расширения
    • I-PX-RS1
    • I-PX-RS4
    • I-PX-IR3
    KNX
    • KNX Home Server
    • KNX IP Interface
    Control panels
    • iRidium Panel 7
    • Touch Panel P3
    • Touch Panel P6
    • Touch Panel P8
    • Touch Panel P10
    • Tabletop Touch Panel 10
    • AV Remote Control
    Bus77 equipment
    • Bus77 Pro catalog
    • Bus77 Lite catalog
    • Differences
iRidium mobile web-site
Contents
    Tools‌
    • Page information
    • Permanent link
    • Printable version
    • Special pages
    • Related changes
    • What links here
    Login / Create Account
    From for iRidium developers
    Jump to: navigation, search
    This page is a translated version of the page Froward value to and the translation is 100% complete.

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

    Contents

    • 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 07.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).

    {{label|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
    Retrieved from "https://dev.iridi.com/index.php?title=Froward_value_to/en&oldid=89157"
    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