User input through Scheme

Forum Home Forums Understanding the Software Using Formulas User input through Scheme

Tagged: ,

This topic contains 4 replies, has 3 voices, and was last updated by Avatar skk2019 3 months, 3 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5836
    Avatar
    skk2019
    Participant

    Hi,

    I am trying to set a value to a variable through Schemes. example: the user clicks a button, sets the value in Command and this value is copied to an output channel/input channel which can then be used in a formula. Is this possible?
    I am attaching an image hoping that it could explain my problem better.

    https://ibb.co/Sf1vQ5S

    Thanks in advance

    • This topic was modified 3 months, 3 weeks ago by Avatar skk2019.
    • This topic was modified 3 months, 3 weeks ago by Avatar skk2019.
    #5838
    Avatar
    skk2019
    Participant

    #5840
    Avatar
    manjey73
    Participant

    Input Channel

    Channel 450, use formula – Yes, Val(450)

    Output Channel

    Channel 450, use formula – Yes, SetVal(450, Cmd)

    Using Formulas

    Then you can use the data of this channel in other formulas
    In principle, you can use the values of any input channels in other formulas, you should only remember that the value of the channel in the database is double

    • This reply was modified 3 months, 3 weeks ago by Avatar manjey73.
    • This reply was modified 3 months, 3 weeks ago by Avatar manjey73.
    #5844
    Mikhail
    Mikhail
    Moderator

    Hi,

    As a recap of the above post, you need to create an input channel, an output channel, and use SetVal(…) for the output channel.

    If you provide screenshot of your configuration database, we can validate it.

    #5847
    Avatar
    skk2019
    Participant

    Hi Mikhail,

    Thanks for your reply. I managed to make it work! I was getting the input channel wrong. Thanks 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.