Posted Mon, 10 Feb 2025 21:26:51 GMT by Grimes, Robert
I have a simple script. No matter how I configure it, the voltage is a 9.9e+37. What am I missing?

I am new to device. Also, I am doing this remotely so I don't know exactly how it is set up physically. I do believe I was getting voltages when I was doing non-TSP methods.

--Reset the instrument
reset()
defbuffer1.clear()

--Measure Settings
smu.measure.func = smu.FUNC_DC_CURRENT
smu.measure.autorange = smu.ON
smu.measure.nplc = 1
smu.measure.sense=smu.SENSE_4WIRE

--Source Settings
smu.source.func = smu.FUNC_DC_VOLTAGE
smu.source.delay = 0.1
smu.source.sweeplinear('linear', -100e-3, 5, 101)

--Run trigger model and wait for it to complete
trigger.model.initiate()
waitcomplete()

print(defbuffer1.n)
--Print Results
if defbuffer1.n == 0 then
    print("Buffer is empty\n")
else
    print("Current\tVoltage")
    for i=1,defbuffer1.n do
        print(string.format("%g\t%g", defbuffer1.sourcevalues[i], defbuffer1.readings[i]*1000000))
    end
end

Posted Tue, 11 Feb 2025 11:49:44 GMT by C, Andrea
I notice your script is asking to use the sense HI and sense LO/4-wire connections for the voltage measurement.
Are those connected to the DUT?
Try setting it to 2WIRE.
Posted Tue, 11 Feb 2025 13:47:53 GMT by Grimes, Robert
Changed to 2Wire, no difference.
Posted Thu, 20 Feb 2025 10:18:12 GMT by C, Andrea

When the instrument reports value of 9.9e+37, it is indicating an over-range condition.

Since you are forcing voltage, is very odd to have a reported over-range for voltage as the voltage measure range will follow the source range.  For the sweep up to 5v, it should be selecting 20V range.

Try this:  reboot and do not yet connect from remote PC.  In local operation, the instrument will continuously update the V and I measurement to front panel.  Even with the output off (blue light not illuminated).  What voltage does it report?  Near to zero or over-range?

You must be signed in to post in this forum.