- Notifications
You must be signed in to change notification settings - Fork0
Scripts and library-in-construction to control lab instrumentation.
License
jrafolsr/pyInstruments
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Pyhton library to control several lab scientific equipment such as sourcemeters, multimeters or daqs. It makes use ofpyvisa allowing the creation of your own lab instruments(sweep current-voltage programs, data loggers, controllers, etc).
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.
The foldersivlogger andpid 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.
Theivlogger allows to configure a Keithley 2400 to supply a constant current/voltage while measuring the voltage/current. A graphical user interface using thedash framework is also provided by executingIV_GUI.
Thepid contains a proportional-integral-derivative algorithm that can be use to control the action given to a system. On top of that, thepid_GUI andpid_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 itsGUI.
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.