Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-252
3700AS-901-01 Rev. D/June 2018
Example
timezone = gettimezone()
Reads the value of the local timezone.
Also see
(on page 11-353)
gpib.address
This attribute contains the GPIB address.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
No
Not applicable
Nonvolatile memory
16
Usage
address
= gpib.address
gpib.address =
address
address
The GPIB address of the instrument (1 to 30)
Details
The address can be set to any address value from 1 to 30. However, the address must be unique in
the system. It cannot conflict with an address that is assigned to another instrument or to the GPIB
controller.
A new GPIB address takes effect when the command to change it is processed. If there are response
messages in the output queue when this command is processed, they must be read at the new
address.
If command messages are being queued (sent before this command has executed), the new settings
may take effect in the middle of a subsequent command message, so care should be exercised when
setting this attribute from the GPIB interface.
You should allow sufficient time for the command to be processed before attempting to communicate
with the instrument again.
The
reset()
function does not affect the GPIB address.
Example
gpib.address = 26
address = gpib.address
print(address)
Sets the GPIB address and reads the address.
Output:
26
Also see
(on page 2-11)