This module serves as the controller for interacting with the source meter, microcontroller, and GUI.
The project is structured as follows:
-
source_meter.py
: The main controller module that manages the interaction between the source meter, microcontroller, and GUI. -
functions.py
: A module containing various utility functions used by the controller. -
gui.py
: The graphical user interface module for the project. -
microserial.py
: A module for serial communication with the microcontroller. -
post_test_gui.py
: A module for displaying post-test results GUI. -
tests.py
: A module containing different test classes. -
README.md
: This readme file providing an overview of the project.
To run this project, please follow these steps:
-
Clone the repository:
git clone https://github.com/AndrewCandy/Keithley-2401-gui
-
Install the required dependencies:
numpy pandas pyvisa You can install these dependencies by using pip and the following command:
pip install numpy pandas pyvisa
-
Run the
source_meter.py
file: You cannot run the file if the sourcemeter is not plugged in via a GPIB will create an error
-
Instantiate the
SourceMeter
class from thecontroller
module:sm = SourceMeter()
-
Run the desired tests by calling the
run_test()
method:sm.run_test()
-
Generate excel sheets containing test data and statistics by calling the
create_excel_sheets()
method:sm.create_excel_sheets()
-
View post-test results using the
run_post_test_gui()
method:sm.run_post_test_gui()