REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at

Looking forward to meeting you there!

#1 2017-01-26 13:59:29

Registered: 2016-10-06
Posts: 34

Monitoring of the selected blocks after page loading

Hi, I am trying to make it work according user guide, using Examples\MonarcoHAT_examples\01_MonarcoHAT_DEMO_example\
First I check GenerateWebWatch, generate htm files, then edit manually MonarcoHATdemo_task.html
like this:

        <script type="text/javascript">
            REX.HMI.init = function() {

Then I download it via RexView. No success. Hint still appears and monitoring still has to be triggered manually.
I must have forgotten something or made some mistake.
Thanks for help.


#2 2017-01-27 07:43:21

Registered: 2016-10-06
Posts: 34

Re: Monitoring of the selected blocks after page loading

I found the explanation.
The documentation says "...for manual adjustment disable the WebWatch option in HMI block".

However, GenerateRexHMI must also be disabled because otherwise the entire content of HmiDir is firstly deleted (as described in the HMI block documentation), then visualization is regenerated, but no manual changes are applied in the visualization as they are lost.

So I have to follow these steps:

1) Enable BOTH GenerateWebWatch and GenerateRexHMI in HMI block
2) Compile
3) Edit MonarcoHATdemo_task.html  manually
4) Disable BOTH GenerateWebWatch and GenerateRexHMI
5) Compile&download

Last edited by stepan.ozana (2017-01-27 07:45:23)


#3 2017-01-27 15:07:59

tomáš čechura
Registered: 2016-02-22
Posts: 371

Re: Monitoring of the selected blocks after page loading


thank you for your immediate update. You are right that the content of HmiDir folder is deleted and overwritten with the new files (without your custom changes).

Your procedure works fine, however there is "www" function block which can help you to optimize the procedure.
See docs: … df#page=40
The "www" block copies content of specified folder to Rex web server - therefore it can be accessed via HMI after download to the target device.

If you have any further questions, let us know.

Regards, Tomas


Board footer

Powered by FluxBB