09-24-2009 04:13 AM
hi guys
Solved one problem regarding the 2400 and stuck in another.
I am trying to make delta measurements on the keithley 2182 while sourcing from the Keithley 2400. But for some odd readon I am getting "Query interminated" and "trigger deadlock " on the 2182. There is no masurement being made. The program is a near exact replica of the one given in 2182 manual , repeating it for your reference
CALL SEND (7, “:syst:pres”, status%) ‘ 2182 - System preset ‘ defaults.
CALL SEND (7, “:trig:del 1”, status%) ‘ 2182 - 1sec delay.
CALL SEND (7, “:sens:volt:delta on”, status%) ‘ 2182 - Enable Delta.
CALL SEND (7, “:syst:faz off”, status%) ‘ Disable Front Autozero to ‘ double Delta speed.
CALL SEND (7, “:trig:sour ext”, status%) ‘ 2182 - External triggering.
CALL SEND (7, “:trac:poin 3”, status%) ‘ 2182 - Buffer size 3.
CALL SEND (7, “:trac:feed:cont next”, status%) ‘ 2182 - Enable buffer.
CALL SEND (24, “*rst”, status%) ‘ SM - RST defaults.
CALL SEND (24, “:trig:sour tlin”, status%) ‘ SM - Select trigger link.
CALL SEND (24, “:trig:dir sour”, status%) ‘ SM - Enable source bypass.
CALL SEND (24, “:trig:outp sour, status%) ‘ SM - Output trigger after ‘ source.
CALL SEND (24, “:trig:coun 6”, status%) ‘ SM - Trig count 6.
CALL SEND (24, “:sour:func curr”, status%) ‘ SM - Source current.
CALL SEND (24, “:func ‘volt’”, status%) ‘ SM - Measure voltage
CALL SEND (24, “:volt:nplc 0.01, status%) ‘ SM - Fast measurements
CALL SEND (24, “:sour:list:curr 10e-6, -10e-6, 20e-6, -20e-6, 50e-6, -50e-6”,status%) ‘ SM - Current list values
CALL SEND (24, “:outp on”, status%) ‘ SM - Turn output on.
CALL SEND (24, “:sour:curr:mode list”, status%) ‘ SM - Enable list mode.
CALL SEND (24, “:init”, status%) ‘ SM - Start sweep.
My Program is attached below. can you suggest what is the problem. This is the first time I am using the trigger link feature in 2182 and 2400!!
Solved! Go to Solution.
09-24-2009 04:19 AM
09-24-2009 10:39 PM
Hi all
Problem nearly solved
I am attaching the file that I got from Keithley's website .
Since I have to modify to incorporate the magnetic field variation. it is a bit messy. But still it does the job and works perfectly fine.
It stands as a good basis for triggering any Keithley SMU using Keithley 2182 using the trigger link line
Runge
PS: Mathan
I have written a lot of program for Keithley 6430 Keithley 236 etc in the past couple of years. But the VISA drivers always had a problem. Since I had encountered a lot of em in the past, I have swtiched over to GPIB SCPI programming where u r in control of the code and can troubleshoot easily.
Anyways for starters the VISA drivers are a wonderful tool
Thanks for your tip