REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. ondrej_severa
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 19
    • Best 0
    • Controversial 0
    • Groups 1

    Posts made by ondrej_severa

    • RE: Animation object leaving a trail

      Hello Stepan,
      There is a XYChart component in the CHARTS library in the HMI Designer. It shows several points (lines) stored in the internal buffer. So, the trail is represented by several historical points.

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: 3D visualization

      @stepan-ozana Currently, this feature is highly experimental and requires large involvement of the development team. So it in not available for public use.

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: Redirecting HMI from studio

      @tcele
      You are almost done. The last step is to create new file in HMI Designer save it to hmisrc dir and name it servis.hmi.svg. You can design new screen in this file.

      posted in REXYGEN Studio
      ondrej_severaO
      ondrej_severa
    • RE: Redirecting HMI from studio

      @tcele
      I have created a minimal working example and find out there is a little typo in my example source code

      // indexOf
      if(itm.getValue() && window.location.href.indexOf('servis.html') == -1 ){ 
      

      After the fix, code is working fine for me. See the attachment.
      BR
      Ondrej
      tcele.zip

      posted in REXYGEN Studio
      ondrej_severaO
      ondrej_severa
    • RE: Redirecting HMI from studio

      @tcele
      Are you sure, that your custom.js is included during the build? Please add alert('I am here') to your code and test if the alert occurs. I was told that you want to open this screen, whenever some operator switches some digital input. That's why my code requests servis data point and wait until the read value is non-zero. There is no need for a Button or Slider.

      If you want you can send me the source for your HMI and I can check it for you.

      Best regards
      Ondrej

      posted in REXYGEN Studio
      ondrej_severaO
      ondrej_severa
    • RE: Redirecting HMI from studio

      @tcele
      This behavior indicates that you are requesting too many datapoints and thus the read request is timeout. I suggest opening the SERVICE page on a different web page. You can do it by adding redirect request to custom javascript.

      1. Create CUSTOM and CUSTOM/js folder in your hmisrc folder.
      2. Create custom.js file in the CUSTOM/js folder
      3. Open your page in HMI Designer, open HMI Configuration and in the HTML Export tab check Expert mode. Add two rows in the Library Path with GENERAL and CUSTOM texts. This will tell the HMI builder to include components from GENERAL library and your CUSTOM foilder. That how you append the custom.js file to your project
      4. Edit the custom.js file with following content:
      REX.HMI.init = function(){
      
      let servis= REX.HMI.get('<name of the alias defined in HMI Designer>');
      //or
      let servis= // REX.HMI.add({alias:"servis",cstring:"task.block:parameter"}'alias defined in HMI Designer>'); // Add new item
      
      // Subsribe to onChange event
      servis.on('change',(itm)=>{
          // If true and not in the page redirect current page to servis page
         // The check for href is not necessary if only on used in index.html page
          if(itm.getValue() && window.location.href.indexof('servis.html') == -1 ){
              window.location.href = '/hmi/servis.html';
              // or open new tab
              // window.open('/hmi/servis.html','blank_');
          }
          else{
              // do nothing
          }
      });
      };
      
      posted in REXYGEN Studio
      ondrej_severaO
      ondrej_severa
    • RE: Color of HMI component with 'Group Animation' not correct.

      @apollo I am glad that it is working.

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: Color of HMI component with 'Group Animation' not correct.

      @apollo Yes, I know this is inconvenient. We are aware of this limitation and will are planning to change it in the future.
      Kind regards
      Ondrej

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: Color of HMI component with 'Group Animation' not correct.

      Hello @apollo,
      The color function in the Group animation component does color interpolation between the given colors. So this allows you to fluently change color eg. from cold to hot. This interpolation is done if the value of the data point for the color is not on the low or high limit.
      I check your SVGs but I am not able to tell if this is your case.

      Best regards
      Ondrej

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: picture as background

      Dear Scoobsalamander,
      your background must be available in the www folder of the webserver. You have two possible options for how to upload your picture to the webserver.

      1. Copy your background to the hmisrc folder in your project. Then point your CSS to background-image: url("/hmi/background.jpg");
        The disadvantage of this approach is that you will upload your background every time you compile the project.

      2. Use WinSCP or a similar tool to upload your background to the target. The location must be in the webserver root or below. The root of the webserver is in /rex/www folder. So upload your background to '/rex/www/bacground.jpg' and change your CSS to background-image: url("/background.jpg");

      Best regards
      Ondrej

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: HTML dropdown menu color animation

      Hello Kris,
      you have to subscribe for reading the alarms (some boolean signals I guess) on the main page or on every page. This depends on your project structure.
      I don't know what kind of HMI you are using (WebBuDi, HMI Designer, or custom) but basically, you have to add

      <script>
      REX.HMI.init = function(){
        REX.HMI.addItem({alias:"ALARMS", cstring:"task.alarm_block_or_subsytem:parameter"}).on('change',function(itm){
          let index = itm.getValue();
          /* HERE you have to pick the <li> or  other element of you menu*/
          let elem = // Some jQuery or document.queryselector magic
          elem.style.backgroundColor = 'red';
        })
      }
      </script>
      

      If you are using HMI Designer, you can follow the example 0301-10_Custom_HMI_Component

      or you can read Chapter 5 of the HMI manual
      BR
      Ondrej

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: $ sign missing in Group animation (HMI designer)

      Hello,
      thank you for pointing this out. It will be fixed in the next release. It was a small typo.
      Best regards
      Ondrej

      posted in Bug reports
      ondrej_severaO
      ondrej_severa
    • RE: Replacing typed characters for "***" while typing a password

      Yes this feature is already included in your pre-release version. Just use HMI Designer and use Input component. You have to change format to password.
      Best regards
      Ondrej

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: Replacing typed characters for "***" while typing a password

      Hi Peter,

      the feature is now available in pre-release version 2.50.10-r5. Do you want to try it out or better wait for public release version?

      Regards, Ondrej

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: Replacing typed characters for "***" while typing a password

      Hello Peter,
      so far this feature is not available yet, but it will be soon. Just little recommendation. If you are about to use passwords in your HMI I strongly recommend to switch from HTTP to HTTPS protocol.
      Just visit the https//: 127.0.0.1:8009 (mind the different port) and your communication between web browser and REGYGEN web server will be encrypted.

      Best regards,
      Ondrej

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: dygraphOptions dateWindows

      Hello Peter,
      we are using dateWindow function during trend refresh. Thus every time we get a new data the time widow is adjusted. So you are not able to use this attribute for custom default zoom. I suggest to follow the @cechurat recommendation and create a 3 hour trend.

      Best regards,
      Ondrej

      posted in REXYGEN HMI Designer
      ondrej_severaO
      ondrej_severa
    • RE: Cannot compile in the new version of Rexygen Studio 2.50.8

      Hello @sadilekivan ,
      this issue was caused by unknown bug in the hashing algorithm during the HMI build process. This will be fixed in next version of our software. Thank you for the bug report.

      Best regards
      Ondrej

      posted in Bug reports
      ondrej_severaO
      ondrej_severa
    • RE: Cannot compile in the new version of Rexygen Studio 2.50.8

      It seems that configuration of the HMI Designer is OK. Please check if HMI can be generated from the HMI Designer.

      • Delete the hmi directory
      • Open your index.hmi.svg
      • Generate the HMI using Ctrl+H
      • Check if hmi directory with index.html file was generated

      If this passed the problem is in the utility which calls the HMI Designer generator during compilation process in the Studio. I must prepare some better version of the script which will give us the detailed information about the error you receive.

      posted in Bug reports
      ondrej_severaO
      ondrej_severa
    • RE: Cannot compile in the new version of Rexygen Studio 2.50.8

      Hello @sadilekivan ,
      I have a few questions. Can you check them for me.

      1. Are you able to compile the project without HMI on you laptop? Just uncheck the GenerateRexHMI in the HMI block. And compile it again.
      2. Are you able to build the HMI using HMI Designer?
      • Open the index.hmi.svg file in the REXYGEN HMI Designer tool.
      • Open REXYGEN HMI Configuration using CTRL+E shortcutn with no selection
      • In HTML export tab check Expert mode and change Output filename parameter to ../hmi/index.html
      • Close the dialog using OK button
      • Then press Ctrl+H for HMI generation from the HMI Designer.
      1. In HMI Designer check the python version and version of the libraries using Exensions -> REXYGEN HMI -> Version Info

      2. What is you Windows version?

      Thank you for your input,
      Best regards
      Ondrej

      posted in Bug reports
      ondrej_severaO
      ondrej_severa