Coder Social home page Coder Social logo

jrafolsr / pyinstruments Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 245 KB

Scripts and library-in-construction to control lab instrumentation.

License: MIT License

Python 78.35% Batchfile 0.42% CSS 21.24%
python pyvisa instrumentation-libraries keithley-instruments keysight national-instruments lab experimental-physics agilent daq

pyinstruments's Introduction

pyInstruments

MIT license

Pyhton library to control several lab scientific equipment such as sourcemeters, multimeters or daqs. It makes use of pyvisa allowing the creation of your own lab instruments(sweep current-voltage programs, data loggers, controllers, etc).

The basic instrument classes

At the moment, only the following instruments can be controlled with minimal options each of it (turn on/off, few configuration possibilities and basic measurements).

  • Keithley 24XX sourcemeter.
  • Agilent E3631A and E3647A power supplies (dual and triple, respectively).
  • Keysight 33500B function generator.
  • Agilent/Hewlett Packard/Keysight 34401A and 34461A multimeters.
  • Keithley 2182A Nanovoltmeter.
  • National Instrument USB DAQ.

Instrument examples

The folders ivlogger and pid contain two examples of higher level instruments, where one or more of the basic instruments classes have been combined to create a scientific instrument to be used in the lab.

  • The ivlogger allows to configure a Keithley 2400 to supply a constant current/voltage while measuring the voltage/current. A graphical user interface using the dash framework is also provided by executing IV_GUI.

  • The pid contains a proportional-integral-derivative algorithm that can be use to control the action given to a system. On top of that, the pid_GUI and pid_controls provide a example of usage: an intrument that controls the temperature of a thermoelectric Peltier cell. The temperature is read using an Agilent 34461A multimeter while an Agilent 34401A power supply is use to power the Peltier cell. The program can be run through its GUI.

(In preparation) Installation & documentation

At the moment the code is a bit messy, but I'm planning to put some order so it can be re-used in a more user-firendly way.

pyinstruments's People

Contributors

jrafolsr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.