Skip to main content

A Cython based Python module to control devices over VXI11 protocol.

Project description

Files

This package contains :

> README VXI11.rpcl cVXI11.pyx cVXI11.pxd setup.py > > and some helper files.

How to build

> You must have rpcgen command, Cython, and python running on your > system.

(If you also wants to build old VXI11.py and related library, you need swig).

Python 2.7.17/Python 3.8.0/Cython version 0.29.14 were used to test/develop this version on MacOSX 10.15.

The following sequence of commands will build and install VXI11 module in your python interpreter.

` {.shell} %python setup.py build %python setup.py install `

or

` {.shell} %sudo python setup.py install `

Before start building, pleas make sure thata there is none of VXI11.py, VXI11_wrap.c, cVXI11.cpp, cVXI11.h, VXI11.h,VXI11_clnt.c,VXI11_svc.c and VXI11_xdr.c. These files should be generated using the tools mentioned above, ie rpcgen, cython ,swig and are platform dependent. In other words, these files created on other platforms may not work on your platform.

On MacOSX, you need to setup CC and CXX environments variables. So use:

` {.shell} %env CC=/usr/bin/clang CXX=/usr/bin/clang++ python setup.py build install `

for building and istalling the software.

binary tools

run "make all" to create vxi11scan and vxi11_device_clear. vxi11scan.py nor pyvxi11scan.pyx are not support on this version.

note

2014.4.1 : SRQ support still is not complete. Sometime it crashes. Please use it at your own risk.

2014.4.2 : SQR handler on MacOSX respond to SRQ. However, on Linux, it does not get event.

2014.4.4 : Ubuntu installation may not incude /usr/sbin/rpcinfo command. You need to install it from the package manager.

2014.4.6 : compilation error. You may have warnings during compilation. It does not affects the operation of the software.

2019.4.17 : Support for Python 3. VXI11.rpcl was adjusted for 64bit mode compilation.

2020.2.7 : pmap_getport/pmap_getmaps are introduced. pmap_getport ask port number for requested program to a portmapper on the host. THe function pmap_getmaps() returns list of services from the portmapper. It remvoes dependency on the rpcinfo shell program.

2020.10.22: On MacOS, getifaddrs() is supported.

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

PyVXI11-1.15.58.tar.gz (65.2 kB view details)

Uploaded Source

File details

Details for the file PyVXI11-1.15.58.tar.gz.

File metadata

  • Download URL: PyVXI11-1.15.58.tar.gz
  • Upload date:
  • Size: 65.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for PyVXI11-1.15.58.tar.gz
Algorithm Hash digest
SHA256 080e7ac1c218195455eed71034b7445aea42c3e7c5fb0edf822bd0e70b27aa7a
MD5 7bff60f7bdac1e020a308d00aaf6239c
BLAKE2b-256 327ec7900f2ceaf7a14e2495541dd8c238c54426c7654fa1abf4eff4ffaae9fd

See more details on using hashes here.

Supported by

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