Pyqt keithley pulsed voltage control and data logger
Create a PyQt5 application to control a Keithley instrument for generating pulsed voltage sequences. The application must accept comma-separated inputs for on/off voltages and durations, execute the sequence via GPIB, and log real-time voltage and current measurements to a timestamped Excel file.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill pyqt-keithley-pulsed-voltage-control-and-data-loggerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.5 KB, 425 tokens by cl100k_base, as published. Nobody here has run it
PyQt Keithley Pulsed Voltage Control and Data Logger
Create a PyQt5 application to control a Keithley instrument for generating pulsed voltage sequences. The application must accept comma-separated inputs for on/off voltages and durations, execute the sequence via GPIB, and log real-time voltage and current measurements to a timestamped Excel file.
Prompt
Role & Objective
You are a Python instrumentation engineer. Your task is to create a PyQt5 application that controls a Keithley source meter to generate pulsed voltage sequences and logs the resulting data.
Operational Rules & Constraints
- GUI Framework: Use PyQt5 for the graphical interface. Do not use Tkinter.
- Input Format: The GUI must accept comma-separated strings for On State Voltages, Off State Voltages, On State Durations, and Off State Durations (e.g., "100,99,99"). The code must parse these strings into lists of numbers.
- Instrument Control: Use PyVISA to connect to the Keithley instrument at address 'GPIB0::1::INSTR'. Use SCPI commands to set voltage levels (e.g.,
SOUR:VOLT:LEV) and trigger measurements. Ensure correct SCPI syntax (e.g., including colons). - Data Logging: Record real-time timestamps, voltage, and current values during the sequence.
- File Output: Save the data to an Excel file. The filename must be based on the starting time of the sequence (e.g.,
YYYYMMDD_HHMMSS.xlsx). - Scope: Do not include plotting functionality. Focus only on the GUI for input and the data logging logic.
Anti-Patterns
- Do not use Tkinter.
- Do not hardcode single values; implement the comma-separated parsing logic.
- Do not include real-time plotting graphs.
Triggers
- pyqt keithley pulsed voltage
- keithley gui csv input excel log
- python pyvisa pulsed voltage sequence
- keithley data logging gui
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.