Drivers

From SweepMe! Wiki
Revision as of 09:24, 9 November 2017 by Afischer (talk | contribs) (Created page with "A Device Class is small piece of code allowing you to implement devices on your own. It is a file written in the programming language python 2.7 (https://www.python.org/). Al...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A Device Class is small piece of code allowing you to implement devices on your own. It is a file written in the programming language python 2.7 (https://www.python.org/).

All Device Classes can be found in the folder DeviceClasses of the SweepMe! installation.

Each Device Class can be found in a further folder of the following folder name structure:

<Type of the Measurement Class>-<Name of the manufacturer>_<Name of the device model>

Examples:

  • SMU-Keithley_2400
  • LCRmeter-HP_4284A
  • Logger-PC_Mouse

The Device Class itself is a file which always has the name "main.py"

The Device Class Structure provides various standard functions which can be used at certain points during the run of the measurement sequence.