Skip to main content

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

Project description


This package contains :

> README VXI11.rpcl cVXI11.pyx cVXI11.pxd > > 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 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 build %python install `


` {.shell} %sudo python install `

Before start building, pleas make sure thata there is none of, 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 build install `

for building and istalling the software.

binary tools

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


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 hashes)

Uploaded Source

Supported by

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