agentsclimarketplace

Pyqt keithley pulsed voltage control and data logger

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/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

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill pyqt-keithley-pulsed-voltage-control-and-data-logger

Assembled 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

  1. GUI Framework: Use PyQt5 for the graphical interface. Do not use Tkinter.
  2. 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.
  3. 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).
  4. Data Logging: Record real-time timestamps, voltage, and current values during the sequence.
  5. 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).
  6. 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.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.