Section 9: Measuring power using digitizing and TSP-Link
DMM6500 6½ Digit Multimeter User's Manual
9-4
DMM6500-900-01Rev. A / April 2018
Measuring power using digitizing and TSP-Link
For this application, you will:
•
Set the TSP-Link nodes for the DMM6500 instruments to 1 and 2.
•
Reset the instruments.
•
Initialize TSP-Link.
•
Configure the input and output TSP-Link triggers for the DMM6500 instruments.
•
Set up the digitize function.
•
Set up trigger models on both instruments.
•
Initiate measurements on both DMM6500 instruments.
•
Use buffer statistics to find the average current and voltage.
•
Find the average power usage of a Bluetooth device.
•
Print the results to the USER swipe screen.
Using SCPI commands
This example cannot be replicated in SCPI code because TSP-Link 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.
Setting up the nodes for TSP code
Before executing the TSP code, you must set up the nodes on the instruments and configure the
TSP-Link network.
To set up TSP-Link on the DMM6500:
1. Press the
MENU
key.
2. Under System, select
Communication
.
3. Select the
TSP-Link
tab.
4. Set the Node to
1
on the instrument that is used to measure voltage
5. Repeat these steps on the other instrument and set the Node to
2
on the instrument that is used
to measure current.
6. Select
Initialize
on each instrument.
The communication from the computer is made directly to the first DMM6500 (node 1) in the
following TSP code. This code makes the first DMM6500 the master in this TSP-Link network, with
the second DMM6500 as the subordinate. You can change the master to be the second DMM6500,
but you must modify the code and modify how the TSP-Link network is initialized. The master node
does not require the
node[
x
].
prefix.
If you need to improve program execution speed, remove the
node[1]
prefixes in the following
TSP code.