Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2601 & TSP cmds

I have to sweep voltage and measure current using Keithley 2601. I am using Rs 232,  with a self-made 'vi'. I am communicating with instrument and trying to send following TSP commands but getting errors 104, 285, 286,350.
 
current = {}
smua.source.output = smua.OUTPUT_ON
for j = 1, 5 do 
smua.source.levelv = j 
current[j] = smua.measure.i()
print(current[j])
end
smua.source.output = smua.OUTPUT_OFF
 
Can anyone please help!
0 Kudos
Message 1 of 1
(2,929 Views)