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 2017-03-31 05:15:15

chandc
Member
Registered: 2016-08-03
Posts: 14

Cannot browse tags from REX HMI configuration dialog

Hi,

I am not able to browse tags from the REX HMI configuration dialog in Inkscape.  It seems to try and connect, but is not able to.  I have specified the ip address in the ws_ip field on the options tab as follows:  10.0.0.64/rex.  After that I am also unable to connect using RexDraw or RexView.  RexView gives the following error:

Connecting to rex://admin@10.0.0.64:43981/ ... FAILED
  Error: Network communication failure (code - 400)

After this I must muse reboot the device and the compile & download the Rex project to be able to connect via RexDraw/View.


I am using Rex v2.50.1.7567

Thanks in advance !

Chand

Offline

#2 2017-03-31 05:59:59

chandc
Member
Registered: 2016-08-03
Posts: 14

Re: Cannot browse tags from REX HMI configuration dialog

Since that post I realized that the new HMI tool is called the RexHMI designer. 

Please note that I did have to enter the port (10.0.0.64:8008) in the RexHMI [target url] field to avoid an authentication error and browse tags.

Please disregard the above post.

Offline

#3 2017-03-31 07:05:46

chandc
Member
Registered: 2016-08-03
Posts: 14

Re: Cannot browse tags from REX HMI configuration dialog

After configuring aliases and then specifying those aliases as [Value] sources for display objects, I am seeing connection errors when opening the index.html on my desktop computer.

The errors say "Connecting to ws://10.0.0.64:8008 failed".

Also, I attempted to download the index.html using RexView and received an error stating that the file was not in the right format.  What is the new way to place the html file on the target?

Thanks in advance !

Last edited by chandc (2017-03-31 07:06:07)

Offline

#4 2017-03-31 09:48:45

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Cannot browse tags from REX HMI configuration dialog

Hi Chand,
I'm sorry to hear you are struggling with the HMI. You have been probably following an outdated tutorial. Since version 2.50.1 the HMI is included using the HMI block in project main file. It is natively included in the project and it is transferred to the target device along with your algorithm. This example project includes HMI so you can use it as a starting point.

And yes, the target_url should include port number of the internal webserver of RexCore, which is 8008 by default.

Best regards,
Jaroslav

Offline

Board footer

Powered by FluxBB