
Section 4: Applications
Series 3700A System Switch/Multimeter User's Manual
Example: External DMM and switch triggering
This example demonstrates how to perform DMM and switch triggering with legacy DMMs, such as
the Model 2000, or SMUs, such as the Model 2400.
Example program code for the Series 3700A
Code
Notes and comments
loadscript Ext_Trig_Dmm
Create a script called
"Ext_Trig_Dmm" that will contain
the following commands.
display.screen=display.MAIN
Display the main screen on the
front panel of the Series 3700.
channel.open("allslots")
channel.connectrule=0
Open all slots.
Set the instrument closes relays
as efficiently as possible to
improve speed performance
without applying a rule.
dmm.func="dcvolts"
dmm.displaydigits = dmm.DIGITS_5_5
dmm.range=10
dmm.nplc=0.0005
dmm.rel.enable= dmm.OFF
dmm.autozero=dmm.OFF
dmm.autodelay=dmm.OFF
dmm.configure.set("dc_10V")
dmm.setconfig("1014", "dc_10V")
Set the DMM function to DC
volts, with 5½ display digits, a
range of 10, NPLC of 0.005,
relative offset enable off,
autozero off, and autodelay off.
Name this DMM configuration
dc_10V and set it as the DMM
configuration for measurements
on channel 14 on slot 1.
dmm.range=100e-3
dmm.nplc=0.0005
dmm.rel.enable= dmm.OFF
dmm.autozero=0
dmm.autodelay=dmm.OFF
dmm.configure.set("dc_100mV")
dmm.setconfig("1012", "dc_100mV")
Change the DC volt function
settings for range to be Set the
DMM function to DC volts, with
5½ display digits, a range of
100 mV, NPLC of 0.005, relative
offset enable off, autozero off,
and autodelay off.
Name this DMM configuration
dc_100mV and set it as the DMM
configuration for measurements
on channel 12 on slot 1.
scan.create("1014, 1012")
scan.mode=scan.MODE_FIXED_ABR
scan.measurecount=100
scan.scancount=3
Create a scan that includes
channels 14 and 12 of slot 1.
Set the scan mode so that all
required backplane relays close
before the start of the scan and
remain closed.
Set the scan to take 100
measurements for each channel
closure.
Set the scan to loop 3 times.
scan.trigger.arm.clear()
scan.trigger.channel.clear()
scan.trigger.sequence.clear()
scan.trigger.measure.clear()
Clear and remove any Series
3700 latched triggers.
4-22
3700AS-900-01 Rev. A / July 2011