Skip to main content

A Python port of KUKA VarProxy client (OpenShowVar).

Project description

py_openshowvar

A Python port of KUKA VarProxy client (OpenShowVar).

Python version

Supports 2.6+ / 3.3+, tested at 2.7.11 and 3.6.3.

Install

On PYPI: https://pypi.python.org/pypi/py-openshowvar

pip install py_openshowvar

Usage

Module usage:

>>> from py_openshowvar import openshowvar
>>> client = openshowvar('192.168.19.132', 7001)
>>> client.can_connect
True
>>> ov = client.read('$OV_PRO', debug=True)
[DEBUG] (48, 6, 0, 3, '100', '\x00\x01\x01')
100
>>> print ov
100
>>> client.close()

Built-in shell usage:

$ python ./py_openshowvar.py
IP Address: 192.168.19.132
Port: 7001

Connected KRC Name:  "xxxxxxxxxx"

Input var_name [, var_value]
(`q` for quit): $OV_PRO
[DEBUG] (66, 5, 0, 2, '50', '\x00\x01\x01')
50

Input var_name [, var_value]
(`q` for quit): $OV_PRO, 100
[DEBUG] (67, 6, 1, 3, '100', '\x00\x01\x01')
100

Input var_name [, var_value]
(`q` for quit): q
Bye

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_openshowvar-1.1.4.zip (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_openshowvar-1.1.4-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file py_openshowvar-1.1.4.zip.

File metadata

  • Download URL: py_openshowvar-1.1.4.zip
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for py_openshowvar-1.1.4.zip
Algorithm Hash digest
SHA256 63c791298916a2e3f056c5b8bfb50c3281d77c1f61d57050666f8e54b28de294
MD5 76aa8735464b1d8c0ff0c3f35dee4c63
BLAKE2b-256 f56b9540fda12f84306889af5ed67a12e3fb818c4ddd11175f5e1052e2205b9b

See more details on using hashes here.

File details

Details for the file py_openshowvar-1.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for py_openshowvar-1.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 282e26fe46e8980277bfb3a03444c610254d58ef6eedefaa638a0bad28ea1ad6
MD5 b7bae680c6bbafa59ed9d410ea25a773
BLAKE2b-256 d39d9edc5e7b73c697b2da32d3c27ab697044a79cc32d6d75ae10aca3a2f3eed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page