12-46 Instrument Control Library Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006 Return to Section 12 topics
gpib attribute
The following attribute is used to set the GPIB address.
Attribute GPIB address.
Usage
address = gpib.address -- Reads address.
gpib.address = address -- Writes address.
address Set from 0 to 30.
Remarks
• A new 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.
• The user 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 non-volatile memory. The reset function has no
effect on the address.
Details See “GPIB operation” in Section 11.
Example Sets the GPIB address of the Series 2600 to 26 and then reads the address:
gpib.address = 26
address = gpib.address
print(address)
Output: 2.600000e+01
gpib.address