In the 'PLC developer', a Python file can now be selected as a start
project on the Revolution Pi. This is transferred to the Revolution
Pi via the new XML-RPC function 'set_plcprogram'. This version is
available from 'revpipyload' 0.11.0.
Some functions are only available from certain 'revpipyload' versions.
The interface shows this as ToolTips, which now also contain the
version information.
The signal 'connection_recovered' was only sent when reconnecting SSH
connections. Now it is also sent after error if the connection is
via the native XML RPC.
This behavior is now similar to common file browsers, in which
further elements are selected by holding a button, but a new
selection begins with a simple click.
It could be selected between Python 2 and Python 3. Since Python 2 has
not been in support since 31.12.2019, it is now time to set the version
firmly to Python 3.
If the application is built with the Target app*, all license
information of the packages used is collected. These can now be
viewed in the GUI in the help menu.
If a PyInstaller target is called from the Makefile, all libraries
installed in the virtual environment are captured with version and
license. The file 'bundled-libraries.md' contains a list of libraries
with version and license. The file 'open-source-licenses.txt'
includes the name, version, author, project URL, description and
complete license for each installed library. The files are included
in the output of the PyInstaller.
By renaming the entry point, which had the same name as the module,
both can now be installed in the same directory. The entry point can
then be created in /usr/bin as a link with the original name
'revpicommander'.
Signed-off-by: Sven Sager <akira@narux.de>
Change entry point name to differ from the module name. In the package,
the module and its scripts are installed in the same directory. This is
done via PYBUILD_INSTALL_ARGS and --install-lib, --install-scripts.
Module name and script name must not be the same.
This will update the alternative shell script as well. It will now just
pass the modules directory to python interpreter to execute the __main__
module.
Signed-off-by: Sven Sager <akira@narux.de>
This fixes the bug that the process image for the simulation is set
to NULL, even though the "Start without changing actual process image"
button is pressed.
Signed-off-by: Sven Sager <akira@narux.de>
If the SSH tunnel is used and RevPiPyLoad is not started on the
Revolution Pi, an attempt is now made to start it.
Signed-off-by: Sven Sager <akira@narux.de>
The Qt5 commands for creating UI, resources and language files have
now been switched from the shell scripts to the direct call of the
Python modules.
Signed-off-by: Sven Sager <akira@narux.de>
The calculation of the length for a device is now carried out
depending on the list content of the inputs and outputs. A length of
0 is now also possible.
Signed-off-by: Sven Sager <akira@narux.de>
At this point we do not release 0.9.10. We will switch directly to
0.10.x because of all the new things and the matching version number
of revpipyload.
Signed-off-by: Sven Sager <akira@narux.de>
Expunging all occurrences of inappropriate language of the query and
response paradigm of PLC communications. We are familiar with the Modbus
terminology and support this change.
https://www.modbus.org/docs/Client-ServerPR-07-2020-final.docx.pdf
An adapted version already exists for the server side. Since the server
side cannot be updated immediately, there is still a translation
function in this project to maintain compatibility.
Wrong type hinting for older python versions.
Version string is parsed by regex to match the numbers and ignore rcX.
Open piCtory browser form main dialog was broken.
This will allow the access from outside the package. setup.py and the
Makefile can use this version number. The __init__.py script imports
the version number, so the module will have the __version__ variable
as usual.
The creation of folders was not clear and a bug could rename wrong
elements, which the user does not select.
Now connections and folders are handled in separat ways and the user can
add a new folder by pressing a button.
The fist connection uses the configured timeout of the revpi settings
object.
While the first connection, the user will see a connecting dialog, to
show we are alive and are working. The old behavior was a freezing UI.