Interactive SourceMeter® Instrument Reference Manual Section 8:
2450-901-01 Rev. B/September 2013 8-65
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 18
Usage
address = gpib.address
gpib.address = address
The GPIB address of the instrument (0 to 30)
Details
The address can be set to any address value between 0 and 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 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 reset() function does not affect the GPIB address.
Example
address = gpib.address
print(address)
Sets the GPIB address and reads the address.
Output:
2.600000e+01
Also see
GPIB setup (on page 2-46)