7½ Digit Multimeter User's Manual Section 9: Integrating with a Model 3706A-S using TSP-
DMM7510-900-01 Rev. B / May 2015 9-5
Using SCPI
This example cannot be replicated in SCPI code because TSP-Link-related events and commands
are only available through the TSP command language.
However, you can use other instrument trigger interfaces, such as digital I/O or external trigger I/O, to
replace TSP-Link and achieve similar operation.
Using TSP
The following TSP code is designed to be run from Keithley Instruments Test Script Builder (TSB).
TSB is a software tool that is available from the Keithley Instruments website. You can install and
use TSB to write code and develop scripts for TSP-enabled instruments. Information about how to
use TSB is in the online help for TSB and in the “Introduction to TSP operation” section of the Model
DMM7510 Reference Manual.
To use other programming environments, you may need to make changes to the example TSP code.
By default, the Model DMM7510 is configured to use 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. For Command Set, select TSP.
4. At the prompt to reboot, select Yes.
Using TSP commands:
--Initialize the TSP-Link network, where node 1 is Model 3706A-S and node 2 is
Model 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 Model 3706A-S
node[2].reset() -- node 2 is Model DMM7510
北京海洋兴业科技股份有限公司(证券代码:839145)