Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-99
Example
gm_array = gm_vsweep(smua, 0, 10, 5)
gm_array, ibuf = gm_vsweep(smua, 0, 10, 5)
gm_array, ibuf, vbuf = gm_vsweep(smua, 0, 10, 5)
SMU A returns Gm values only.
SMU A returns Gm and reading buffer
with measured currents.
SMU A returns Gm and reading buffers
with measured currents and voltages.
Also see
(on page 7-97)
(on page 5-21)
gpib.address
This attribute contains the GPIB address.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Nonvolatile memory
26
Usage
address
= gpib.address
gpib.address =
address
address
The GPIB address of the instrument (0 to 30)
Details
The GPIB address value is set to 26 at the factory. The address can be set to any address value between 0 and
30. However, the address must be unique in the system. It cannot conflict with an address that is assigned to
another instrument or to the GPIB controller.
A new GPIB address takes effect when the command to change it is processed. If there are response messages
in the output queue when this command is processed, they must be read at the new address.
If command messages are being queued (sent before this command has executed), the new settings may take
effect in the middle of a subsequent command message, so care should be exercised when setting this attribute
from the GPIB interface.
You 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
reset()
function does not affect the GPIB address.
Example
gpib.address = 26
address = gpib.address
print(address)
Sets the GPIB address and reads the address.
Output:
2.01
Also see
(on page 2-83)
Summary of Contents for 2657A
Page 3: ......