Tektronix Keithley DMM7510 User Manual page 99

7 1/5 digit graphical sampling multimeter
Hide thumbs Also See for Keithley DMM7510:
Table of Contents

Advertisement

Section 10: Capturing and analyzing waveforms
To enable TSP commands:
1. Press the MENU key.
2. Under System, select Settings.
3. Set the Command Set to TSP.
4. At the prompt to reboot, select Yes.
Send the following commands:
-- Reset the instrument to default settings.
reset()
-- Create a local variable to store the number of samples.
numofsamples = 10000
-- Set the measure function to digitize voltage to capture the power-up behavior.
dmm.digitize.func = dmm.FUNC_DIGITIZE_VOLTAGE
-- Voltage range must be fixed when using digitize voltage.
dmm.digitize.range = 10
-- Set the sample rate to 1 megasample per second to capture any small glitch.
dmm.digitize.samplerate = 1e6
-- Set aperture to automatic to get the highest accuracy measurement
-- for the configured sampling rate.
dmm.digitize.aperture = dmm.APERTURE_AUTO
-- Changing count is optional. The reading buffer capacity determines the actual count.
dmm.digitize.count = 1
-- Set the input impedance to automatic to select 10 gigaohms for the 10 V range.
dmm.digitize.inputimpedance = dmm.IMPEDANCE_AUTO
-- Set the buffer size to the number of samples to capture both
-- pre- and post-triggered data.
defbuffer1.capacity = numofsamples
-- Clear buffer.
defbuffer1.clear()
-- Select analog edge trigger to capture the power-up behavior.
dmm.digitize.analogtrigger.mode = dmm.MODE_EDGE
-- Set edge slope to detect a rising edge.
dmm.digitize.analogtrigger.edge.slope = dmm.SLOPE_RISING
-- Set edge level trigger to 3 V for the 5 V steady-state output.
dmm.digitize.analogtrigger.edge.level = 3
-- Define a trigger model that will capture 50% pre- and 50% post-triggered data.
trigger.model.setblock(1, trigger.BLOCK_MEASURE_DIGITIZE, defbuffer1,
trigger.COUNT_INFINITE)
trigger.model.setblock(2, trigger.BLOCK_WAIT, trigger.EVENT_ANALOGTRIGGER)
trigger.model.setblock(3, trigger.BLOCK_MEASURE_DIGITIZE, defbuffer1,
numofsamples/2)
trigger.model.initiate()
-- Waits for the trigger model to finish collecting data before proceeding.
waitcomplete()
print("test ended")
10-20
Model DMM7510 7½ Digit Multimeter User's Manual
DMM7510-900-01 Rev. C / September 2019

Advertisement

Table of Contents
loading

Table of Contents