Drivers: Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
(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...")
 
No edit summary
Line 12: Line 12:
* Logger-PC_Mouse
* Logger-PC_Mouse


The Device Class itself is a file which always has the name "main.py"  
The <Type of the Measurement Class> must be related to [[Measurement Classes]] provided by SweepMe! and every Measurement Class provides different functionality to control a certain type of equipment.
 
The Device Class itself is a file which always has the name "main.py" and which can load further python modules, [dll]s, or simply text files as needed to get your Device Class working.


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

Revision as of 09:26, 9 November 2017

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 <Type of the Measurement Class> must be related to Measurement Classes provided by SweepMe! and every Measurement Class provides different functionality to control a certain type of equipment.

The Device Class itself is a file which always has the name "main.py" and which can load further python modules, [dll]s, or simply text files as needed to get your Device Class working.

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