
Series 3700A System Switch/Multimeter User's Manual
Section 4: Applications
3700AS-900-01 Rev. A / July 2011
4-27
Example: Commonside ohm measurement with Model 3721
This example configures channels 38 and 39 in slot 1 to perform commonside four-wire ohm
measurements on the 3721 card. Please refer to the Series 3700A Switching and Control Cards
Reference Manual for the physical connections for a commonside ohms measurement.
Example program code for Model 3721 commonside ohm measurement
Code
Notes and comments
loadscript CommonSide4wOhms
Name the script
"CommonSide4wOhms"
channel.open("allslots")
Open all slots.
dmm.func="commonsideohms"
dmm.autorange=dmm.ON
dmm.nplc=0.0005
dmm.autozero=dmm.OFF
dmm.autodelay=dmm.OFF
Set the DMM function to
commonside ohms, with
autorange on, an NPLC of 0.005,
autozero off, and autodelay off.
dmm.configure.set("commonside4w")
Name this DMM configuration
"commonside4w".
dmm.setconfig("1038,1039","commonside4w")
Set the configuration as the
DMM configuration for
measurements on channels 38
and 39 on slot 1.
scan.mode=scan.MODE_FIXED_ABR
scan.create("1038,1039")
scan.measurecount=10
Measures two resistors in
commonside ohms configuration.
DMM takes 10 readings on each
channel.
mybuffer = dmm.makebuffer(1000)
mybuffer.clear()
mybuffer.appendmode= 1
Make buffer named
mybuffer
and configure it to store up to
1000 readings.
scan.execute(mybuffer)
Initiate the scan to execute in the
background and save readings to
the buffer called
mybuffer
.
Backplane channels 1927 and
1928 are automatically closed
with either channel 1038 or 1039.
printbuffer(1, mybuffer.n,
mybuffer,mybuffer.relativetimestamps)
endscript
Prints the reading and relative
time from start of scan.
mybuffer.timestamp
includes
date and real time.