Giter Site home page Giter Site logo

keithley_dmm's Introduction

Keithley DMM

A library of scripts that implement basic functionality to read and controll old Keithley DMMs over GPIB bus. Scripts make use of PyVISA package for GPIB communication.

Currently only two models are supported:

  • Keithley 196
  • Keithley 199

Usage

Scripts in the KeithleyDMM directory can be used as standalone CLI aplications (run scripts with -h option to get help on running standalone):

$ ./keithley196.py -a 7 -s
Using primary address 7 on GPIB port 0

 --- Instrument status ---

Function ... V DC
Range ...... 30 VDC
Zero ....... DISABLED
Filter ..... 0

 --- Instrument status ---

-0.00038 V DC

or as a part of other python programs by importing the KeithleyDMM library (make sure that python interpreter can find it):

import KeithleyDMM

k196 = KeithleyDMM.keithley196(pad=7)
k199 = KeithleyDMM.keithley199(pad=1)

m1 = k196.raed()
m2 = k199.raed()
...

Examples

example_dual_logger.py

Opens two instruments and periodicaly writes timestamps, measured values and asociated uints to a .csv file

example_scroll.py

Scrolls trough long a message string on the instrument display

Compatibility

Scripts are using PyVISA as an abstraction layer for GPIB communication, so they should be compatible with different operating system and GPIB interface hardware combinations as long as the said combinations are supported by PyVISA.

keithley_dmm's People

Contributors

an-ven avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.