Skip to main content

Control of data acquisition with remote instruments using IVI-C or IVI-COM, Visa, and serial protocols.

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:

  • ivi drivers (using the lower level package pyivi)

  • visa

  • serial

Using IVI-drivers greatly simplifies your life because :

1/. The lower level layer is fully transparent for the user (pyivi provides a common interface for each instrument type).

2/. zero extra work is needed 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!).

  • pyhardwaredb for the hardware communication (This package itself is a thin wrapper around pyhardware). Because it heavily relies on ivi-drivers and com-interoperability, this package is intended to run on a windows machine.

  • curvefinder to display in quasi real-time the curves acquired (This module could be run on any platform).

The strict separation between plotting and data-acquistion processes ensures that scripted data-acquisitions won’t be affected by user interactions or plotting dead-times.

Main Features

The curves are stored in a (django-abstracted) database with all necessary metadata. (bandwidth, averaging, date, comment, name…) together with a list of user-defined tags to quickly identify the curves. The curvefinder module allows monitoring new incoming curves, as well as querying the database for old curve by date, tags… The hardware module has a Graphical User Interface to quickly get a curve from an instrument and configure the way instruments are interfaced.

Dependencies

Direct dependancies for pyinstruments are:
  • django > 1.5

  • PyQt4

  • guidata

  • guiqwt

  • pyhardware <– pyivi <– (ctypes + comtypes)

Installation

The windows installer takes care of all the dependancies that are not standards in version 2.7.3.1 of pythonxy.

The other option to install pyinstruments is to use pip from a command shell (also available in pythonxy):

pip install pyinstruments

pyinstruments and its three ‘exotic’ dependencies can also be uninstalled using pip:

pip uninstall pyinstruments
pip uninstall pyhardware
pip uninstall pyivi

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 and feedback 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.4.5.zip (146.5 kB view details)

Uploaded Source

Built Distributions

pyinstruments-0.4.5.win32.exe (340.2 kB view details)

Uploaded Source

pyinstruments-0.4.5-py2.7.egg (342.1 kB view details)

Uploaded Egg

File details

Details for the file pyinstruments-0.4.5.zip.

File metadata

  • Download URL: pyinstruments-0.4.5.zip
  • Upload date:
  • Size: 146.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyinstruments-0.4.5.zip
Algorithm Hash digest
SHA256 d40887f0c64f311a47f1254c1bcad4d93b63400ac29ef25646dbd572747c5b56
MD5 ecc91223bf98da097c68c3a0538a6265
BLAKE2b-256 530fba2ae598c13227528f1c760301586f90b035120bfa277dbb41b8f3f5343c

See more details on using hashes here.

File details

Details for the file pyinstruments-0.4.5.win32.exe.

File metadata

File hashes

Hashes for pyinstruments-0.4.5.win32.exe
Algorithm Hash digest
SHA256 f3c6a0c1e966fd9213a31ddff4edf88cfea0b235be28693a9343fa0d37417019
MD5 828928fb99d697f3bfa748bdf4b78856
BLAKE2b-256 4c483e814046cd2ff6553ffe572ba651d7e19cce53e1c022be97b518f2cb7fe9

See more details on using hashes here.

File details

Details for the file pyinstruments-0.4.5-py2.7.egg.

File metadata

File hashes

Hashes for pyinstruments-0.4.5-py2.7.egg
Algorithm Hash digest
SHA256 ca858149e2bd8536c280ac829f0ad319910bd1a6a0739ab5318505b8f6b1b879
MD5 47db2db1327814e6b6211173f2de1228
BLAKE2b-256 5f9764166e57267ed130ad6e43b31e881941e91208e07c936f8d609538864640

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