Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
Current-Voltage Measurements
Notebook Experiments


There are a number of examples for learning how to use PyMeasure. Many of them make a great starting point for your own graphical user interface (GUI) or command line script.

Run one of the examples in the command line (or "Anaconda prompt").



The following examples simulate data using a random number generator, so they do not require an instrument to be connected. They show off the basic structure for setting up your measurement.

  1. - A graphical user interface example with live-plotting and full features.
  2. - A command line example, which also has a live-plot.
  3. - A simple command line example.
  4. - An extension of, which uses a custom Qt Creator file for the inputs.

Notice in all of these examples, the Procedure class is the same. Once you define your Procedure, the choice of interface is up to you.

Current-Voltage Measurements

There are two examples of for measuring current-voltage (IV) characteristics, which use different instruments to make the measurement. They are based on

  1. [](Current-Voltage Measurements/ - Uses the Yokogawa 7651 Programmable Source to provide a current and measures the voltage with a Keithley 2000 Multimeter.
  2. [](Current-Voltage Measurements/ - Uses the Keithley 2400 SourceMeter to provide a current and measures the voltage with a Keithley 2000 Multimeter. This has higher precision in the voltage than using the SourceMeter allow.

Notebook Experiments

Besides the interfaces shown in the Basic examples, you can also make measurements in Jupyter notebooks. It is recommended that you use caution when using this technique, as the notebooks allow scripts to be executed out of order and they do not provide the same level of performance as the standard interfaces. Despite these caveats, the notebooks can be a flexible method for running custom experiments, where the Procedure needs to be modified often.

  1. [script.ipynb](Notebook Experiments/script.ipynb) - Runs the simulated random number Procedure from in a notebook.
  2. [script2.ipynb](Notebook Experiments/script2.ipynb) - Extends [script.ipynb](Notebook Experiments/script.ipynb), using custom configurations and Measureable parameters.
You can’t perform that action at this time.