• RE: 2450 High voltage

    Changed to 2Wire, no difference.
  • 2450 High voltage

    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