Upgrading to REXYGEN version 2.50.7

New version of REXYGEN (2.50.7) is out and all users can upgrade for free. Follow the instructions below for upgrading from REX 2.50.x or from REX 2.10.x.

In any case, it is recommended to backup the content of the /rex/rexcore directory on your target device prior to upgrading. If you do not know how to do it, don't worry. In such a case the only thing you might need are the licensing keys and you can always find these in your user accout at licensing.rexygen.com.

Upgrading from REX version 2.50.x

It is recommended to upgrade both the development tools on your desktop/laptop PC and the runtime modules on your target device(s).

Development tools

Install the newest version of development tools. Only Windows 7/8/10 is supported.

Version 2.50.7 allows you to connect to any 2.50.x device, therefore you can uninstall all versions 2.50.x.

Target device - Full upgrade including operating system

It is highly recommended to upgrade your OS to the newest version.

  • If you are using Raspberry Pi, download the newest Raspbian image and write it to your SD card.
  • Follow the instructions bundled with installation scripts in our GitHub repository.
  • After installation is complete, your target device is running REXYGEN runtime version 2.50.7 and is ready for use.
  • Your licences are valid, just re-apply the licence key (SiteKey) when asked for it while connecting to your target device.

Target device - Upgrade REXYGEN runtime only

ONLY IF you are running an up-to-date Debian Stretch based distribution of Linux (e.g. Raspbian Stretch) and want to upgrade only REXYGEN runtime module (RexCore) on your target device, follow the instructions below.

WARNING - Note that your running algorithms will be restarted during upgrade!

Update information about available packages

sudo apt update 

Uninstall runtime modules

sudo apt purge rexcore rex-dbdrvt rex-odbc

and install the newest version of REXYGEN runtime modules

sudo apt install --install-recommends rexygen-runtime

After installation is complete, your target device is running version 2.50.7 and is ready for use. Your licences are valid, check that the algorithm is running after the upgrade. If needed, just re-apply your licence key (SiteKey).

Known problems

There are known problems which you need to solve while upgrading from 2.50.x to 2.50.7:

  • REXYGEN HMI Designer: it is necessary to open the SVG source files at least once and run Update Components extension (due to updates in RexHMI components, Extensions->REXYGEN HMI->Update Components). Afterwards save the SVG file, compile and download your project again and you should be up and running.
  • Should you run into troubles, contact us and we'll be happy to help.
  • Even if everything goes smoothly, we'll highly appreciate your feedback about the new version.

Upgrading from REX version 2.10.x

It is mandatory to upgrade both the development tools on your desktop/laptop PC and the runtime modules on your target device(s).

Development tools

Install the newest version of development tools. Only Windows 7/8/10 is supported.

As long as you have at least one target device with version 2.10.8 or older, you should keep the development tools 2.10.8 installed. As soon as you upgrade all your target devices to 2.50.7, you can uninstall version 2.10.8.

You can have multiple versions of development tools installed at the same time. You just have to pay attention to which version you are running and opening your projects in. The REXYGEN Tray Monitor utility is a big help in this case.

Target device - Full upgrade including operating system

  • If you are using Raspberry Pi, download the newest Raspbian image and write it to your SD card.
  • Follow the instructions bundled with installation scripts in our GitHub repository.
  • After installation is complete, your target device is running version 2.50.7 and is ready for use.
  • Your licences are valid, just re-apply the licence key (SiteKey) when asked for it while connecting to your target device.
  • It will be necessary to compile and download your project again using the newest version of the development tools.

Things you should know

These are the most important changes and known problems which you should know before upgrading from 2.10.x to 2.50.7:

  • In general, a lot has changed. An upgrade is definitely worth the effort. Although you are experienced users of REX, it is recommended to go through the Getting started manual which will help you with the transition to new version.
  • The workflow in REXYGEN Studio (RexDraw) was slightly changed. The connection to the target device is now independent of the application mode (development or watch mode).
  • Zoom is available in REXYGEN Studio (RexDraw).
  • Connecting blocks is much easier.
  • HMI: there is no need to manually export and download HMI files to the target device. HMI is now included in your project and compiles automatically. See the REXYGEN HMI documentation.
  • RexCore contains an internal webserver (default port 8008). There is no need to use the lighttpd webserver.
  • REXYGEN HMI Designer: it is necessary to open the SVG source file at least once and Resize it (due to changes in DPI settings of Inkscape 0.92) and run Update Components extension (due to updates in RexHMI components, Extensions->REXYGEN HMI->Update Components). Afterwards save the SVG file, compile and download your project again and you should be up and running.
  • REXLANG block: there are numerous changes, especially in commands for opening communication buses (UART, SPI, I2C, UDP, TCP). See the REXLANG documentation.
  • Modbus communication driver: if Modbus RTU communication (RS-232 or RS-485) fails after upgrade, try increasing the Sync time parameter in Modbus driver configuration. Start at 0.05 and go lower as long as the communication is still working.
  • 1-Wire communication driver (via OWFS, module OwsDrv): make sure to use localhost instead of 127.0.0.1 in OwsDrv configuration in your project.
  • OWFS configuration on the target device: make sure to use localhost instead of 127.0.0.1 in the /etc/owfs.conf configuration file
  • REST API is available, REXYGEN is more open than ever.
  • Database connection driver (via ODBC, module DbDrv): if you are using REXYGEN archives, check the numbering of archives in the database driver configuration. The numbering of archives was unified. All places use numbering starting from 1, therefore it is necessary to update your DB driver configuration. Please open the configuration dialog and set ArchiveID=1. Or change it directly in the .rio file.
  • Should you run into troubles, contact us and we'll be happy to help.
  • Even if everything goes smoothly, we'll highly appreciate your feedback about the new version.