Posted Fri, 30 Dec 2022 18:09:15 GMT by Sanaur, Sébastien Associate Professor
Dear Tek community,
I try to run SMU2612 through a python code. I installed keithley2600 package ('pip install keithley2600' command) but encounters some errors with the "trigger". Please find enclosed the code and below the returned error:
Traceback (most recent call last):
File "C:\Users\name\anaconda3\lib\site-packages\keithley2600\keithley_driver.py", line 258, in __getattr__accessor = self._dict[attr_name] KeyError: 'trigger' During handling of the above exception, another exception occurred:
Traceback (most recent call last): 
File "C:\Users\name\Documents\CMP Gardanne\Python_Labview_Scripts\runkeithley2612_readthedocsexample2.py", line 25, in <module> k.voltage_sweep_single_smu(smu=k.smub, smu_sweeplist=range(0, 20, 1), t_int=0.1, delay=-1, pulsed=False)
File "C:\Users\name\anaconda3\lib\site-packages\keithley2600\keithley_driver.py", line 1048, in voltage_sweep_single_smu smu.trigger.source.listv(smu_sweeplist)
File "C:\Users\name\anaconda3\lib\site-packages\keithley2600\keithley_driver.py", line 266, in __getattr__ raise AttributeError(f"{self} has no attribute '{attr_name}'") AttributeError: &lt;KeithleyClass(smub)&gt; has no attribute 'trigger'</em>
May you please highlight me some ideas to solve this issue?
Kind Regards
Posted Mon, 02 Jan 2023 15:56:58 GMT by C, Andrea
Check the exact model of your SMU.
Is it the original 2612 release?  Or does it have 2612A or 2612B letter suffix.

It is only the A or B versions of the 2600x series that have the trigger model and the smuX.trigger.X commands.
It seems the Python driver you are attempting to use made use of those commands, therefore a 2612 cannot use the driver.
You would need to directly call one of the sweep commands of the instrument API (reference manual) or use a for loop in Python to program each source level and single measurement.
Posted Mon, 02 Jan 2023 20:42:22 GMT by Sanaur, Sébastien Associate Professor
Dear Andrea,

thank you for your reply.
It is a 2612 model. Does it mean I cannot use directly the "procedures" from 'keithley2600' package?
In such a case, seems more difficult to run FET measurements 'in live' (which is my final aim)

May I ask you others questions please:
1) I try to use a GUI.
But I cannot also install the 'keithleygui' driver to get a graphical interface. Will it be the same issue? Sounds weird since it is only here a Python issue...

2) My final aim is to run Output and Transfer measurements for FETs. Could I find then some 'TSP scripts taht are ready-to-use with 2612 SMU?

Thank you very much for your help. Kind Regards,

Sébastien
Posted Tue, 03 Jan 2023 17:51:23 GMT by C, Andrea
Hi Sébastien,

Unfortunately, it seems the keithley2600 driver posted to Univ of Cambridge github will not be compatible with the older 2612 that does not bear the A or B suffix.
Some commands might work, but sweeps that use the trigger commands will not be understood by the older 2612 model and syntax error will result.

I've attached a PDF document that was written about the time of the older 2612.  It has some sample scripts for FET and BJT tests.
You'll just need to send these commands and read back the results into Python for file save, graphing, etc.

Take a look at PySimpleGUI if you want a form with buttons and graphs and such.

 

You must be signed in to post in this forum.