Tektronix Keithley DMM7512 Applications Manual page 41

7 1/2 digit multimeter
Table of Contents

Advertisement

Section 6: Integrating with a Model 3706A-S using TSP-Link
To use other programming environments, you may need to make changes to the example TSP code.
By default, the DMM7510 uses the SCPI command set. You must select the TSP command set
before sending TSP commands to the instrument.
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 for this example application:
-- Initialize the TSP-Link network, where node 1 is 3706A-S and node 2 is DMM7510.
tsplink.initialize()
-- If the TSP-Link state is not online, print an error message and quit.
state = tsplink.state
print(state)
if state ~= "online" then
print("Error:\n-Check that all instruments have a different node number")
print("-Check that all instruments are connected correctly\n")
return
end
-- Reset both instruments to the default settings.
node[1].reset()
-- Node 1 is 3706A-S.
node[2].reset()
-- Node 2 is DMM7510.
--[[
Create a configuration list on DMM7510 named "myScanConfigList".
Index 1 is DCV 100 mV range, 10 channel.
Index 2 is DCV 10 V range, 20 channel.
Index 3 is ACV 1 V range, 9 channel.
Index 4 is Resistance 4W, 20 channel.
]]
node[2].dmm.measure.configlist.create("myScanConfigList")
node[2].dmm.measure.func = node[2].dmm.FUNC_DC_VOLTAGE
node[2].dmm.measure.range = 10
node[2].dmm.measure.nplc = 1
-- Index 1.
node[2].dmm.measure.configlist.store("myScanConfigList")
node[2].dmm.measure.func = node[2].dmm.FUNC_DC_VOLTAGE
node[2].dmm.measure.range = 1000
node[2].dmm.measure.autozero.enable = node[2].dmm.OFF
-- Index 2.
node[2].dmm.measure.configlist.store("myScanConfigList")
node[2].dmm.measure.func = node[2].dmm.FUNC_AC_VOLTAGE
node[2].dmm.measure.range = 10
node[2].dmm.measure.autozero.enable = node[2].dmm.OFF
-- Index 3.
node[2].dmm.measure.configlist.store("myScanConfigList")
node[2].dmm.measure.func = node[2].dmm.FUNC_4W_RESISTANCE
node[2].dmm.measure.autorange = dmm.ON
node[2].dmm.measure.autozero.enable = node[2].dmm.OFF
6-6
Model DMM7510 7½ Digit Multimeter Application Manual
DMM7510-904-01 Rev. D March 2021

Advertisement

Table of Contents
loading

This manual is also suitable for:

Keithley dmm7510Keithley dmm7510 rack

Table of Contents