Gpib Attribute; Makegetter Functions - Keithley 3700 series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 9: Instrument Control Library (ICL)

gpib attribute

Use the following attribute to set the GPIB address.
gpib.address
Attribute
Usage
Remarks
Example

makegetter functions

Use the functions in this group to set and retrieve a value for an attribute.
makegetter
Function
Usage
9-130
GPIB address.
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.
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.
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.600000e+01
Creates a function to get the value of an attribute.
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.
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents