Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-04-03 17:55:01

sudhir
Member
Registered: 2016-04-01
Posts: 14

Firing up the html on Windows 8.1 Laptop

I was able to run the simple PID loop example. The numbers change so it is running. I could not run the html. I get connection refused for the WS calls.
Do I need to install IIS8 or the light webserver? How do I configure those on my laptop so that the WS rex invocation goes through.
Thanks.

Offline

#2 2016-04-04 08:59:52

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

Re: Firing up the html on Windows 8.1 Laptop

Did you try to execute the "run.bat" script located in ./REX_2_10_xxxxxx/EXAMPLES/REX_TUTOR_PIDU/?

If you didn't succeed you can run it manually as follows:
1. Open "exec.mdl" in RexDraw, Compile and download (F6) (make sure to check "Start local RexCore if necessary" and also uncheck "Save the new configuration permanently" - if you don't have Administrator rights).
2. Open RexView and download HMI to target: Target / PC --> Target device...
download_HMI.png
3. Run RexHMI services (shortcut in Start menu Rex Controls folder)
4. Open web browser and fill in address 127.0.0.1:8008 and you should see the visualisation.

Hope it will help you.

Regards, Tomas

Last edited by tomáš čechura (2016-04-04 10:23:08)

Offline

#3 2016-04-10 17:00:33

sudhir
Member
Registered: 2016-04-01
Posts: 14

Re: Firing up the html on Windows 8.1 Laptop

Thanks. That worked. Just got one error as shown in the following paragraph but rest seems to be working.
Appreciate your help.

C:\Program Files (x86)\REX Controls\REX_2_10_8_5910_x86\EXAMPLES\REX_TUTOR\PIDU>
run.bat
Downloading example to local rexcore..
Starting HMI..

Starting lighttpd web server ..
      1 [main] lighttpd 10000 find_fast_cwd: WARNING: Couldn't compute FAST_CWD
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
Waiting few seconds..

Starting websocket backend..
Waiting few seconds..
Deleting C:\ProgramData\REX Controls\REX_2_10_8_5910\HMI
Downloading HMI from folder C:\Program Files (x86)\REX Controls\REX_2_10_8_5910_
x86\EXAMPLES\REX_TUTOR\PIDU\hmi
56 File(s) copied
Starting Web browser (http://127.0.0.1:8008/)..
Done. You should see HMI interface in your web browser now.
Press any key to continue . . .

Offline

#4 2016-04-10 17:11:23

sudhir
Member
Registered: 2016-04-01
Posts: 14

Re: Firing up the html on Windows 8.1 Laptop

The Cygwin problem is caused by Windows 8.1 based on my Google research. The solution appears to be "use minGW instead Cygwin" for the compile process.

Offline

#5 2016-04-11 08:07:54

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

Re: Firing up the html on Windows 8.1 Laptop

Hello sudhir,

thank you very much for your suggestions! I will forward it to a person who is responsible for HMI.

Have a nice day, Tomas

Offline

Board footer

Powered by FluxBB