dotmjsc / K2450_Arb_I

Keithley 2450 Current Waveform Player
GNU General Public License v3.0
6 stars 0 forks source link

Expand the program to the Keithley 2461 #1

Open ba179 opened 1 month ago

ba179 commented 1 month ago

Hi, it would be great if the program could be expanded to the other models of the 2400-series. So that you did not get an error message, when using e.g. the 2461 modell. From the "Keithley" homepage the difference between the two models (or all models of the 2400-series) is just the "max current source" / "max voltage source" and ... of course the price ;) https://www.tek.com/en/products/keithley/source-measure-units/2400-graphical-series-sourcemeter

So all functions and the firmware should be the same.

dotmjsc commented 1 month ago

Hi. Certainly that would be doable. Do you have the possibility to try it out yourself? Check out the code and open it with a Python IDE. Pycharm Community should be fine. You might need to install some packages: matplotlib, numpy, pyvisa and si-prefix if i remember correctly. This can be done comfortably within Pycharm.

First thing to edit is in K2450_ArbCurrentSource.py line 38:

if "KEITHLEY" and "2450" in visa_answer:

to your model number

then you should modify these lines according to the specs of your instrument (see datasheet):

line 72: current_source_ranges = [10e-9, 100e-9, 1e-6, 10e-6, 100e-6, 1e-3, 10e-3, 100e-3, 1] line 73: autodelays = [50e-3, 50e-3, 3e-3, 2e-3, 1e-3, 1e-3, 1e-3, 1e-3, 2e-3] line 152: current_source_ranges = [10e-9, 100e-9, 1e-6, 10e-6, 100e-6, 1e-3, 10e-3, 100e-3, 1] line 165: voltage_measure_ranges = [0.02, 0.2, 2, 20, 200] line 178: protect_levels = [2, 5, 10, 20, 40, 60, 80, 100, 120, 140, 160, 180]

Then run K2450_Arb_I_support.py and see if it works.

In fact the code nees a complete refactoring as I'm much wiser now in terms of python programming. I may do this in the next months, but for now try if these modifications will do the trick.

Regards, M.