Skip to content

pycomm3_slc_cli v0.3.1

Latest

Choose a tag to compare

@dhunt84971 dhunt84971 released this 13 Nov 14:37

Command Line Application for pycomm3 SLCDriver

This is a standalone command line application that can be directly executed on any Windows 7/10 system. See the ReadMe for instructions.

New in this release

User manual

A full user manual is now included in the docs folder, in both Word and PDF form. It covers installation, the safety warnings that come with writing to a live controller, SLC data file addressing, the three output formats and every command, with screenshots captured from a real session against an SLC 500.

Version

A new command that prints the version number of the application, so the build actually installed on a machine can be confirmed without opening it. It needs no connection to a controller.

pycomm3_slc_cli Version
0.3.1

Fixes

  • Write now writes to every data file, not just bit addresses. The value arrived from the command line as text and pycomm3 rejected it (Failed to create a writeable value), so numeric writes failed outright. The value is now converted according to the data file type: bit addresses take 1/0 (and on/off, true/false, set/clear), floating point files take a fractional value, and every other file takes an integer. A value that does not suit the address is reported rather than silently rounded.
  • IPAddress with no address given now prints ERROR - IPAddress requires an IP address. instead of raising an unhandled IndexError and ending the console session.
  • Read now answers when the output format is set to minimal, printing tag=value - the same form the tag file commands produce. It previously printed nothing at all.
  • The Help text lists Minimal among the output formats.

Known limitations

ReadOptimizedTagFile can raise on two cases, both in the same helper: a block holding a single floating point address, and an address inside a block that the controller rejects. Section 9 of the user manual describes both and how to avoid them.

The executable

pycomm3_slc_cli.exe is built with PyInstaller 6.8.0 on Windows 7 SP1 against Python 3.8.10 - the last Python release with official Windows 7 support - so it runs on Windows 7 and newer. It is a 64-bit executable and will not run on 32-bit Windows.

MD5 751e8bf62493412fec37565efa49b370