2600S-901-01 Rev. C / January 2008
Return to
12-39
Series 2600 System SourceMeter® Instruments Reference Manual
Section 12: Instrument Control Library
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 “
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.01
localnode attribute
Use the attributes and functions in this section to set the power line frequency, control prompts (on
and off), control error messages, (show
and hide), to access global variables, and to run test
scripts.
There are two different ways to use the
localnode
object.
• Send commands from the local node
• Send commands from a remote node
To send commands from the local node, use the
localnode
element:
localnode.linefreq = 50
NOTE Use the node reference to send commands from a remote node, do
not use the
localnode
element.
node [N].linefreq=50
gpib.address