Skip to main content

Control of data acquisition with remote instruments using (IVI-)dotnet, (IVI-)COM, Visa, and serial protocols. python dotnet and/or comtypes should be installed

Project description

program less and do more science… better

What is it

pyinstruments is a Python package to control/get data from measurement and automation devices. Control of the remote instruments can be done via one of the following protocols:

  • Visa

  • pythondotnet

  • comtypes

  • serial

The syntax of the higher level functions follows the IVI (Interchangeable Virtual Instruments) guidelines. This allows:

1/. a lower level layer fully transparent for the user.

2/. zero extra work to interface an instrument for which an IVI driver is provided.

pyinstruments is composed of two independant packages (can be run on 2 remote computers!).

  • pyhardware for the hardware communication

  • curvefinder to display in quasi real-time the curves acquired.

In this way, in the case of scripted data-acquisition, the process is not affected at all by the plotting and user interactions.

Main Features

The curves are stored in a (django-abstracted) database with all necessary metadata (bandwidth, averaging…) together with a list of user-defined tags and comments. The curvefinder module allows monitoring new incoming curves, as well as querying the database for old curve by date, tags…

For simple tasks, the hardware module also has a simple Graphical User Interface to quickly get a curve from an instrument…

Note: the hardware package can also be used independantly of the other modules.

Note2: in a near future, the modularity of the hardware package will increase, in particular, external instrumentation drivers will be easily imported and an independant package to interface IVI-instruments will be released.

Dependencies

Try it out!

The installation is single click (since v 0.1.15), desktop icons are created to launch both graphical user interfaces.

The project is hosted on GitHub, and still in a starting phase, contributions are warmly welcome!

<https://github.com/SamuelDeleglise/pyinstruments>

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

pyinstruments-0.1.17.zip (79.5 kB view hashes)

Uploaded Source

Built Distribution

pyinstruments-0.1.17.win32.exe (274.4 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