it is definitely possible to have the MQTT server on the same Raspberry with REXYGEN. It depends on the expected data load. Just have a look at Raspberry performance and CPU loads.
thanks for asking. You can send HTTP commands (HTTP GET and HTTP POST) using HTTP2 function block. Have a look at "0302 IoT Integrations" example folder where you can find many examples with HTTP2 function block in various situations.
If you need more information, let me know.
unfortunately the REXYGEN runtime won't run on an ESP32, however you can integrate it with other REXYGEN enabled device using REST API and exchange data. Have a look at example "0302-11 ESP8266 REST API", which is originally meant for ESP8266 - I believe that the code will work also for ESP32 (with minor tweaks - don't have any ESP32 on my desk available for testing).
Let us know about your progress.
thank you for this question.
In general the described behaviour is possible. Connection between HMI and signal in REXYGEN is always one-by-one. You have to introduce subsystem with mask and change the mask parameter via HMI, where the connection string will be as follows:
The masked parameter can be used on as many places as desired within the specified subsystem.
For more information on defining the subsystem mask see:
If you need additional information, let me know.
let me answer your questions:
ad 1) Yes, in order to count time connect CNI=1 to "ti" input as you proposed.
ad 2) Correct, "Y" should contain time.
ad 3) Exactly.
It also assumes that your boolean signal from pushbutton is connected to input "u".
For more details about the INTE function block see docs: https://www.rexygen.com/doc/ENGLISH/MANUALS/BRef/INTE.html#x81-800005
in order to make multiple HMI pages just create more *.hmi.svg files in the same folder as index.hmi.svg. No more settings is required.
You can navigate between pages using Inkspace "Link" feature. Right-click on any object (e.g. rectangle) -> Create link, right-click again -> Link Properties -> fill in the Href field with:
This object then becomes a hyperlink to another webpage.
There is also example on Multipage HMI available - have a look at "0301-07_Multi-page_HMI" example.
Hope it helps. If you encounter any difficulties, let me know.
for measuring time of pressed pushbutton I would go for integrator (INTE function block) with ti=1.
What is reason for measuring pushbutton pressed time? I'm asking because my proposed solution doesn't have to be the best for your end goal. Let us know.
thanks for interesting question. It is possible to compare two strings comparing their length and position of one substring in the other one - see attached .mdl file.
PS: function block for comparing strings is on our todo list
thank you for your question. Yes, REXYGEN 2.50.9 was tested with Raspbian Buster without any error. Just follow our Getting Started Guide (https://www.rexygen.com/doc/ENGLISH/MANUALS/RexygenGettingStarted_RasPi/RexygenGettingStarted_RasPi_ENG.html).
If you encounter any difficulties, let me know. I will be happy to help.