OE-FET / keithley2600

Python driver for Keithley 2600 series instruments.
https://keithley2600.readthedocs.io
MIT License
41 stars 17 forks source link

Voltage Sweep Several Errors #28

Closed GaliumNick closed 8 months ago

GaliumNick commented 9 months ago

Hello,

I got the Keithley to run simple stuff like voltage and current measurement, but when I use voltage_sweep_single_smu, my Keithley gets to work but at the end it either yells:

TypeError: sequence item 0: expected str instance, int found

or

ValueError: Variable already exists in namespace

I tried changing integers to strings but nothing changed: image

Here are the errors I keep getting: image

When I use your code: image

I get this: Screenshot 2023-12-19 164228

GaliumNick commented 8 months ago

I figured it out. There are two edits to the code needed to fix this. You need to clear the attribute again and convert . Add these codes to the driver in order for it to work: Screenshot 2024-01-04 175557 Screenshot 2024-01-04 175729