Define and retrieve commands that identify instruments
out = instrid(...)
The instrument identification command.
The list of commands used to locate and identify instruments.
Set the identification command to *ID?.
Specify three new identification commands using a cell array.
Assign a list of current identification commands to an output variable.
id_commands = instrid;
The Instrument Control Toolbox™ instrhwinfo and tmtool functions use the instrument identification commands as defined by instrid when locating and identifying instruments.
By default, Instrument Control Toolbox software uses the command *IDN?, which identifies most instruments. However, some instruments respond to different identification commands such as *ID? or *IDEN?.
If instrhwinfo or tmtool does not identify a known instrument, use instrid to specify the identification commands the instrument will respond to. If instrid returns no commands, an instrument cannot be found.