User manual
Series 3700 System Switch/Multimeter Reference Manual Section 2: TSP Programming Fundamentals
3700S-901-01 Rev. C / July 2008 2-15
Programming interaction
Up to seven tabs can be displayed in the lower pane of the workspace (the
script editor) to provide programming interaction between the Test Script Builder
and the Series 3700. The instrument console shown in Using Test Script Builder
(TSB) (on page 2-13) is used to send commands to the connected Series 3700.
Retrieved data (for example, readings) from commands and scripts appear in
the instrument console.
Sending commands and statements
Using your own program or the Test Script Builder, non-scripted chunks can be
executed one line at a time. Responses (for example, readings) are then
transmitted back to the computer.
Measure voltage
The digital multimeter (DMM) of the Series 3700 is capable of measuring various
functions. The following code fragment programs the DMM to measure DC
voltage at a specified NPLC and range.
Return the Series 3700 to default settings.
reset()
Set the DMM function to DC volts
dmm.func = 'dcvolts'
Set the NPLC for DC volts
dmm.nplc = 0.1
Set the range for DC volts
dmm.range = 10
Take the DC volts measurement
reading = dmm.measure()
Displays measure voltage reading
print(reading)