10-10-2014 06:47 AM - edited 10-10-2014 06:48 AM
Hello,
i want to generate a simple current pulse with my keithley 2602A, but i have a problem with the pulsewidth.
I observed the length of the pulse on an oscilloscope and it's nearly constant for about four times and then, the next time it takes about 40 seconds longer.
I wrote the following script:
smua.measure.rangev = 6.000000
smua.measure.rangei = 1.000000
smua.source.rangev = 6.000000
smua.source.rangei = 1.000000
smua.sense = 1.000000
ntimes = 100000.000000
smua.source.func = smua.OUTPUT_DCAMPS
smua.source.leveli = 0.186000
smua.source.limiti = 0.200000
smua.source.limitv = 5.000000
mybuf = smua.makebuffer(2)
mybuf.clear()
mybuf.appendmode = 1
smua.measure.count = 1
smua.source.output = 1
for i = 1 , ntimes do -- Perform following command(s) ntimes
end --for
smua.measure.i(mybuf)
smua.measure.v(mybuf)
smua.source.output = 0
I figured out, that the problem is in smua.measure.X and not in the loop.
Could you please help me?
10-10-2014 11:31 AM
10-13-2014 08:58 AM
Definitely the wrong forum.
The forum you arre looking for can be found here:
10-13-2014 10:56 AM
Ok, thanks!