EasyManua.ls Logo

Keithley DMM7510

Keithley DMM7510
1036 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Model DMM7510
7½ Digit Graphical Sampling Multimeter Reference Manual Section 8:
TSP command reference
DMM7510-901-01 Rev. B / May 2015 8-165
reset()
-- set the instrument to measure voltage
dmm.measure.func = dmm.FUNC_DC_VOLTAGE
-- set the range to 10 V
dmm.measure.range = 10
-- set the nplc to 0.1
dmm.measure.nplc = 0.1
-- disable auto clearing for limit 1
dmm.measure.limit[1].autoclear = dmm.OFF
-- set high limit on 1 to fail if reading exceeds 5 V
dmm.measure.limit[1].high.value = 5
-- set low limit on 1 to fail if reading is less than 3 V
dmm.measure.limit[1].low.value = 3
--- set the beeper to sound if the reading exceeds the limits for limit 1
dmm.measure.limit[1].audible = dmm.AUDIBLE_FAIL
-- enable limit 1 checking for voltage measurements
dmm.measure.limit[1].enable = dmm.ON
-- disable auto clearing for limit 2
dmm.measure.limit[2].autoclear = dmm.OFF
-- set high limit on 2 to fail if reading exceeds 7 V
dmm.measure.limit[2].high.value = 7
-- set low limit on 2 to fail if reading is less than 1 V
dmm.measure.limit[2].low.value = 1
-- enable limit 2 checking for voltage measurements
dmm.measure.limit[2].enable = dmm.ON
-- set the measure count to 50
dmm.measure.count = 50
-- create a reading buffer that can store 100 readings
LimitBuffer = buffer.make(100)
-- make 50 readings and store them in LimitBuffer
dmm.measure.read(LimitBuffer)
-- Check if any of the 50 readings were outside of the limits
print("limit 1 results = " .. dmm.measure.limit[1].fail)
print("limit 2 results = " .. dmm.measure.limit[2].fail)
-- clear limit 1 conditions
dmm.measure.limit[1].clear()
-- clear limit 2 conditions
dmm.measure.limit[2].clear()
Example output that shows all readings are within limit values (all readings between 3 V and 5 V):
limit 1 results = dmm.FAIL_NONE
limit 2 results = dmm.FAIL_NONE
Example output showing at least one reading failed limit 1 high values (a 6 V reading would cause this
condition or a reading greater than 5 V but less than 7 V):
limit 1 results = dmm.FAIL_HIGH
limit 2 results = dmm.FAIL_NONE
Example output showing at l
east one reading failed limit 1 and 2 low values (a 0.5 V reading would cause this
condition or a reading less than 1 V):
limit 1 results = dmm.FAIL_LOW
limit 2 results = dmm.FAIL_LOW
Also see
dmm.digitize.limit[Y].low.value (on page 8-100)
dmm.measure.limit[Y].autoclear (on page 8-159)
dmm.measure.limit[Y].clear() (on page 8-160)
dmm.measure.limit[Y].enable (on page 8-161)
dmm.measure.limit[Y].fail (on page 8-162)
dmm.measure.limit[Y].high.value (on page 8-163)

Table of Contents

Other manuals for Keithley DMM7510

Related product manuals