Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-300
DMM7510-901-01 Rev. B / May 2015
Example
reset()
-- Set up measure function
dmm.measure.func = dmm.FUNC_DC_CURRENT
dmm.measure.autorange = dmm.ON
dmm.measure.nplc = 1
-- Initiate readings
trigger.model.load("SimpleLoop", 200)
trigger.model.initiate()
waitcomplete()
--Parse index and data into three columns
print("Rdg #", "Time (s)", "Current (A)")
for i = 1, defbuffer1.n do
print(i, defbuffer1.relativetimestamps[i], defbuffer1[i])
end
This example uses the Simple Loop trigger model template to do a capacitor test. This example produces 200
readings that have output similar to the following example:
Rdg # Time (s) Current (A)
1 0 -5.6898339156e-10
2 0.022129046 -5.6432783106e-10
3 0.063973966 -5.6329326206e-10
. . .
198 5.133657681 -5.5518916972e-10
199 5.155784187 -5.6363814801e-10
200 5.177910874 -5.6070686983e-10
Also see
None