Models 707B and 708B Switching Matrix Reference Manual
Section 7: Command reference
707B-901-01 Rev. A / August 2010
7-97
gpib.address
This attribute describes the GPIB address.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Nonvolatile
memory
16
Usage
address = gpib.address
gpib.address = address
address
GPIB address (0 to 30)
Details
The change to the GPIB address takes effect when the command is processed. If there are response messages
in the output queue when this command is processed, they must be read at the new address.
Any response messages generated after processing this command are sent with the new settings. 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 ample time for the command to be processed before attempting to communicate with the
instrument again. After sending this command, make sure to use the new address to communicate with the
instrument.
The GPIB address is stored in nonvolatile memory. The reset function has no affect on the address.
Example
gpib.address = 26
address = gpib.address
print(address)
Sets the GPIB address and reads the address.
Output:
2.6001
Also see
(on page 2-31)