14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-280 2470-901-01 Rev. A / May 2019
Also see
tspnet.connect() (on page 14-277)
tspnet.read() (on page 14-281)
tspnet.termination() (on page 14-283)
tspnet.write() (on page 14-287)
tspnet.idn()
This function retrieves the response of the remote device to *IDN?.
Type TSP-Link accessible
Affected by Where saved Default value
Function No
Usage
idnString = tspnet.idn(connectionID)
The returned *IDN? string
The connection ID returned from tspnet.connect()
Details
This function retrieves the response of the remote device to *IDN?.
Example
deviceID = tspnet.connect("192.0.2.1")
print(tspnet.idn(deviceID))
tspnet.disconnect(deviceID)
Assume the instrument is at IP address 192.0.2.1.
The output that is produced when you connect to the
instrument and read the identification string may appear
as:
KEITHLEY INSTRUMENTS,MODEL
Also see
tspnet.connect() (on page 14-277)