Getinstattr - Keithley 4200A-SCS Reference Manual

Parameter
Hide thumbs Also See for 4200A-SCS:
Table of Contents

Advertisement

Model 4200A-SCS Parameter Analyzer Reference Manual

getinstattr

This command returns configured instrument attributes.
Usage
int getinstattr(int instr_id, char *attrstr, char *attrvalstr);
instr_id
attrstr
attrvalstr
Details
All instruments in the system configuration have specific attributes. GPIB address is an example of an
attribute. The values of these attributes change as the system configuration is changed. Therefore, by
getting the values of key attributes at run time, user modules can be developed in a configuration-
independent manner. Given an instrument identification code and an attribute name string, this
module returns the specified attribute value string.
If the attribute value string exists, the returned string will match one of the values shown in the
Attribute value string column of the following table. If the requested attribute does not exist, the
attrvalstr parameter is set to a null string.
Possible values for the getinstattr parameters are listed in the following table.
getinstattr parameter values
Instrument identification code
GPIx
CMTRx
PGUx
SMUx
MTRX1
TF1
4200A-901-01 Rev. C / February 2017
The instrument identification code of the LPT library instrument
The instrument attribute name string
The value string of the requested attribute; see Details
Attribute name string
GPIBADDR
MODELNUM
GPIBADDR
MODELNUM
GPIBADDR
MODELNUM
MODELNUM
MODELNUM
MODELNUM
NUMOFPINS
Section 13: LPT library function reference
Attribute value string
1 to 30
GPI 2-terminal
GPI 4-terminal
1 to 30
KI82
KI590
KI595
KI4284
KI4294
1 to 30
KI3401
KI3402
HP8110
HP81110
KI4200
KI4210
KI707
KI708
KI8006
KI8007
12
72
13-17

Advertisement

Table of Contents
loading

Table of Contents