REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. sadilekivan
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 20
    • Best 0
    • Controversial 0
    • Groups 0

    sadilekivan

    @sadilekivan

    0
    Reputation
    243
    Profile views
    20
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    sadilekivan Unfollow Follow

    Latest posts made by sadilekivan

    • Disabling rexlang compile warnings

      Hello,

      In one of my codes I'm getting a warning on not using a variable even though I kinda do, what #pragma should I use to disable getting this warning

      Warning compiling file '../.rexlang/database.c' (line 29): variable 'dateInterval' is assigned but not used

      I tried #pragma warning(disable: 4189) but thats no good.

      Thanks in advance!

      posted in REXYGEN Studio
      S
      sadilekivan
    • RE: Any easy way to add a custom .js file to manage components in the HMI

      @cechurat

      I wanted to add that it just works on the correct size sometimes, so I'm still glad and waiting for the fixes in the future version.

      posted in REXYGEN HMI Designer
      S
      sadilekivan
    • RE: Any easy way to add a custom .js file to manage components in the HMI

      @cechurat

      Thanks, I have adjusted the page size, and it worked great.

      posted in REXYGEN HMI Designer
      S
      sadilekivan
    • Best way to send commands over Ethernet to a 2Dcode (QRcode) reader

      Hello,

      The current project I am working on uses a 2Dcode (QRcode) reader. This reader is connected over a switch to the RPI and has a static IP address. Connecting to it with its assigned software is no problem. There is a basic terminal which I can send commands over to read the code and get the data back.

      Now I'm trying to send a command from the RPI with the Rexygen system and I'm quite lost on what to use. Is there a block that manages ethernet communication or should I move this logic into a python script and just exchange the data with that?

      Thank you.

      posted in Communication (RS232
      S
      sadilekivan
    • RE: HMI group animation not hiding/refreshing from the start when used with X, expression type

      @cechurat

      Thanks for the responce, to fix this bug is it enough to update Rexygen studio with HMI designer or do I have to update the Rexygen core as well?

      posted in REXYGEN HMI Designer
      S
      sadilekivan
    • RE: Permanently setting REXYGEN clock

      @jaroslav_sobota

      Hello,

      Selecting the HW clock seems to fix the problem, I did try this as my first solution because it was obvious to try and get the time from the Real-time circuit, but I could swear it had some issues. Must have been some other mistake I fixed along the way.

      Anyway, everything works as intended, thanks for the swift support with the command, it proved the time was set correctly just read from the wrong source.

      posted in Monarco HAT
      S
      sadilekivan
    • HMI group animation not hiding/refreshing from the start when used with X, expression type

      Hello,

      I have a simple static string displayed on a certain screen.

      Since it doesn't change I didn't want to implement a value into the Rexygen studio. So I simply set its behaviour to a group animation of opacity with being max on 1 and min on 0. Then I connected {Ω_screen} == 5 as its connection string with the X type.

      When I start on screen 1 and it doesn't hide/refresh the element until I use screen 5 at least once, then it works fine.

      Thanks in advance for any and all input.

      posted in REXYGEN HMI Designer
      S
      sadilekivan
    • RE: Permanently setting REXYGEN clock

      @jaroslav_sobota
      Hello,

      The device wont be connected to the internet in its operation and the customer would like to set the time manually.

      Here is the output after a fresh restart:

      Local time: Sat 2020-03-14 16:26:24 GMT
                 Universal time: Sat 2020-03-14 16:26:24 UTC
                       RTC time: Thu 2020-03-19 10:38:38
                      Time zone: Europe/London (GMT, +0000)
      System clock synchronized: no
                    NTP service: active
                RTC in local TZ: no
      

      Here is the output after I set the time with the Rexygen DATETIME block:

      Local time: Thu 2020-03-19 10:30:03 GMT
                 Universal time: Thu 2020-03-19 10:30:03 UTC
                       RTC time: Thu 2020-03-19 10:30:03
                      Time zone: Europe/London (GMT, +0000)
      System clock synchronized: no
                    NTP service: active
                RTC in local TZ: no
      

      It seems that the RTC time is preserved which is neat, its just not offered in the rexygen selection as far as I looked.

      posted in Monarco HAT
      S
      sadilekivan
    • Permanently setting REXYGEN clock

      I have achieved setting the time easily with DATETIME block by using the block inputs and using the OS clock as output. The problem is this setting doesn't persist over shutting and starting of the device. It goes back to the REXYGEN clock (which is about 4 days late).

      I have read the documentation and I tried to sync these two times. Apparently it takes a while but even after further testing with another DATETIME block to sync the REXYGEN clock to the OS clock it doesn't seem to work as intended.

      Any suggestions?

      posted in Monarco HAT
      S
      sadilekivan
    • Centering a HMI string

      I am displaying an informational message on the HMI screen that is fitted into a rectangle and Id like to center it.

      I already have an idea of solving it by prefixing and suffixing it with nonbreakable spaces with a block in the Rexygen studio with a total fixed length but this all seems too much for just centering a string on the web.

      Any way to simply do it on the webpage/HMI?

      Thanks in advance.

      posted in REXYGEN HMI Designer
      S
      sadilekivan