Section 6: Model 3750 Additional Information
Series 3700 System Switch/Multimeter User's Manual
6-20
3700S-900-01 Rev. C / July 2008
-- if it is not saved.
channel.calibration.save()
channel.calibration.lock()
-- Cleanup to restore analog channels to
-- an idle, unconnected state
channel.setmode("" .. (1000 * sl
10),channel.MODE_PROTECT_VOLTAGE_1)
channel.setmode("" .. (1000 * sl
11),channel.MODE_PROTECT_VOLTAGE_1)
channel.setoutputenable("" .. (1000 * sl 10)
,channel.OFF)
channel.setoutputenable("" .. (1000 * sl 11)
,channel.OFF)
channel.write("" .. (1000 * sl 10), 0)
channel.write("" .. (1000 * sl 10), 0)
end
-- Create a function called cal_tot that takes
-- slot number and channel number as parameters
-- No external measurements need to be taken
-- to calibrate the counter channels.
-- Be sure to disconnect all external circuits
-- before executing calibration!
function cal_tot(slot_num,chan_num)
channel_num = (1000 * slot_num) + chan_num
channel.calibration.unlock("slot" .. slot_num,"KI3706")
channel.calibration.step("" .. channel_num,1)
channel.calibration.step("" .. channel_num,2)
channel.calibration.save()
channel.calibration.lock()
end
endscript
Before running these calibration scripts, you must build the functions
cal_dac()
and
cal_tot()
by typing
cal()
. Now you can calibrate any
channel using this script.
Typing
cal_dac(1,10)
runs an internal DMM calibration on Slot 1, Channel
10.
Typing
cal_tot(2,6)
runs the totalizer calibration for Slot 2, Channel 6.