REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Use of local parameters in RexHMI Designer

    REXYGEN HMI Designer
    hmi designer local variables
    2
    6
    576
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Apollo
      last edited by cechurat

      Is there someone who can explain to me how to use the local parameter(s) which are used inside RexHMI Designer?

      I would like to hide/unhide a window by means of a button on the screen but somehow it is not working. Should all be assigned to 'L'? When to use the curly brackets?

      Has someone maybe a small example how to set this up?

      1 Reply Last reply Reply Quote 0
      • A
        Apollo
        last edited by

        Nobody with a working example how to implement a button on the HMIpage to toggle the visibility (opacity) of another object on the same page by means of a local parameter?

        1 Reply Last reply Reply Quote 0
        • cechuratC
          cechurat
          last edited by

          Hi Kris,

          thanks for question. Did you look into the HMI docs? The Local items are mentioned here: https://www.rexygen.com/doc/ENGLISH/MANUALS/RexHMI/RexHMI_ENG.html#x1-120003.2.1

          You just need to specify Alias (used in button as control and other components as HIDE parameter), Default value (Connection String column) and type = L - see the Figure 3.3 in above mentioned docs.

          Let me know if it helped.

          Kind Regards,
          Tomas

          A 1 Reply Last reply Reply Quote 0
          • A
            Apollo @cechurat
            last edited by

            @cechurat

            Yes, I have seen this document but somehow I cannot get it working. After a while I started to create all kind of possibilities and none of them worked. The funny thing is that I already managed to do this in the past but I didn't saved it...
            😕

            So for the button I should use the alias HIDE (between curly brackets?) and is it 'W' or 'L' ?
            And the object which's opacity needs to be changed is then also the alias HIDE, inbetween brackets and 'R'? Or is 'L'.
            Is it important in which order the parameters are assigned in this table?

            1 Reply Last reply Reply Quote 0
            • cechuratC
              cechurat
              last edited by

              Hi Kris,

              thanks for you feedback. I can see that our documentation is not enough. Please, see the example attached:
              0301_Human_Machine_Interface_HMI.zip

              Let me know if there is still missing something.

              Cheers,
              Tomas

              A 1 Reply Last reply Reply Quote 0
              • A
                Apollo @cechurat
                last edited by

                Thank you for the examples. I was trying to make use of the placeholders (like $T for example) which I completed at the end in the Connections tab.

                Now I got it working by only creating the local parameters (HIDE_WINDOW_A, HIDE_WINDOW_B, ...) and giving them a default value '0' in the connections table.
                Then in the button's and windows which are to be hidden I used these newly created local parameters directly. (instead of using the $T).
                And now it is working fine. :-)... still don't know what I'm doing wrong when using the connections table....

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

                There is also an outdated REXYGEN community forum.

                Powered by NodeBB.