
2600AS-901-01 Rev. B / September 2008
Return to
19-65
Series 2600A System SourceMeter® Instruments Reference Manual
Section 19: Remote Commands
gpib
The following attribute is used to set the GPIB address.
io
gpib.address
Attribute
GPIB address.
Default
26
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
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 nonvolatile memory. The
reset
function has no effect on the
address.
Details
See
Example
Sets the GPIB address of the Series 2600A to 26 and then reads the address:
gpib.address = 26
address = gpib.address
print(address)
Output:
2.01
io.close
Function
Closes a file.
TSP-Link
accessibility
This function can be accessed from a remote TSP-Link node.
Usage
io.close()
io.close(file)
file
The descriptor of the file to close.
Remarks
• If a file is not specified, the default output file closes.
•
Only
io.close()
can be accessed from a remote node.