Skip to content

Releases: drunsinn/pyLSV2

fix table reader

25 Jul 15:41
Compare
Choose a tag to compare

fix error in table parser not splitting columns correctly

missing safe login and broken file search

23 Jul 13:15
Compare
Choose a tag to compare
  • re add missing login MONITOR from list of safe logins, see #35
  • fix error in file search introduced by fix for #26
  • start documenting lsv2 based on information from #34

fix iTNC transfer error and old key codes

14 Jul 16:33
Compare
Choose a tag to compare

this release fixes #26 and adds some new (old) key codes and error numbers from #34

python3.4 and axis values

28 Mar 16:19
Compare
Choose a tag to compare

integrate #25 and #27:

  • remove f-strings and other functions to make pyLSV2 compatible with python 3.4
  • add function to read current axis position get_axes_location()

v0.7.3

05 Mar 15:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.2...v0.7.3

Fix broken demo script

16 Sep 16:33
Compare
Choose a tag to compare

This release fixes a problem in the demo script, Thanks to @PandaRoux8!

iTNC: access values via data path

06 Sep 13:08
Compare
Choose a tag to compare

With the new function read_data_path(path) it is possible to read values from PLC memory or tables using the data path

Code Cleanup and Commandline Tool

18 Jun 15:02
Compare
Choose a tag to compare

This release is the result of an overhaul of the code to change all static values to enumerations. This should make it clearer which values belong together. As a side effect the length of some of the name was reduced, resulting in a easier to understand code.
The drawback of breaking compatibility with all prior version resulted in the change to v0.7. Please refer to the documentation and the demo scripts on how to change existing code to the new API.

The other, smaller addition is the command line script lsv2cmd.py which allows transferring of files via lsv2. See it's help message for information on how to use it.

usage: lsv2cmd.py [-h] [-d | -v] [-t TIMEOUT] [-f] source destination

command line script for functions in pyLSV2

positional arguments:
  source                souce file. Either local path or URL with format lsv2://<hostname_or_ip>:<port>/TNC:/<path_to_file>
  destination           destination file. Either local path or URL with format lsv2://<hostname_or_ip>:<port>/TNC:/<path_to_file>

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug           enable log level DEBUG
  -v, --verbose         enable log level INFO
  -t TIMEOUT, --timeout TIMEOUT
                        timeout duration in seconds
  -f, --force           replace file at target if it already exists

Packages available via pip or https://pypi.org/project/pyLSV2/

error messages, file list and documentation

30 May 15:32
Compare
Choose a tag to compare

This release adds two new functions:

  • get_error_messages() reads all available error messages from the control. Only works for iTNC
  • get_file_list(path=None, descend=True, pattern=None) returns a list of all files and applies a regex filter to the file name

With this sphinx is used to generate documentation based on the docstrings.

Fix issue with table header and column names

19 May 14:45
Compare
Choose a tag to compare

Integrate #12 to fix problem with not recognizing table names and column titles.