EasyManuals Logo

Tektronix Keithley SourceMeter 2470 Reference Manual

Tektronix Keithley SourceMeter 2470
995 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
Page #987 background imageLoading...
Page #987 background image
2470
High Voltage SourceMeter Instrument Reference Manual Appendix B:
Status model
2470-901-01 Rev. A / May 2019 B-25
Using TSP commands:
reset()
-- Clear the reading buffer
defbuffer1.clear()
-- Configure the source and take a measurement
smu.source.range = 1
smu.source.level = 1
smu.source.ilimit.level = 10e-3
smu.measure.range = 10e-3
-- Setup the NPLC for a really long measurement
smu.measure.nplc = 10
-- Use the trigger model to create events before and after
-- the measurement to generate SRQ when measurement is done.
trigger.model.setblock(1, trigger.BLOCK_LOG_EVENT, trigger.LOG_INFO1, "Measurement
Started.")
trigger.model.setblock(2, trigger.BLOCK_MEASURE, defbuffer1)
trigger.model.setblock(3, trigger.BLOCK_LOG_EVENT, trigger.LOG_INFO2, "Measurement
Done.")
-- Clear the status byte
status.clear()
-- Map bit 0 of the Operation Event Register to set on the Measurement
-- Done log notification (trigger.LOG_INFO2) and clear on the
-- Measurement Started log notification (trigger.LOG_INFO1).
status.operation.setmap(0, trigger.LOG_INFO2, trigger.LOG_INFO1)
-- Enable bit 0 to flow through to the status byte.
status.operation.enable = 1
-- Enable the Operational Summary Bit to set the Master Summary
-- Bit/RQS
status.request_enable = status.OSB
smu.source.output = smu.ON
trigger.model.initiate()
waitcomplete()
smu.source.output = smu.OFF
printbuffer(1, defbuffer1.n, defbuffer1)

Table of Contents

Other manuals for Tektronix Keithley SourceMeter 2470

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix Keithley SourceMeter 2470 and is the answer not in the manual?

Tektronix Keithley SourceMeter 2470 Specifications

General IconGeneral
BrandTektronix
ModelKeithley SourceMeter 2470
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals