
Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-130
Document Number: 3700S-901-01 Rev. A / August 2007
gpib attribute
Use the following attribute to set the GPIB address.
gpib.address
Attribute
GPIB address.
Usage
To read the GPIB address:
address = gpib.address
To write the GPIB address:
gpib.address = address
address
: Set from 0 to 30. Default is 16.
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.
Example
To set the GPIB address of the Series 3700 to 26 and then read the address:
gpib.address = 26
address = gpib.address
print(address)
2.01
makegetter functions
Use the functions in this group to set and retrieve a value for an attribute.
makegetter
Function
Creates a function to get the value of an attribute.
Usage
getter = makegetter(table, attributename)
table
: Read-only table were the attribute is located.
attributename
: The string name of the attribute.
getter
: Function that returns the value of the given attribute.