4 – 18
Remote Operation
4.4.12
Interface commands
Identify
*IDN?
Query the SR124 identification string.
The response is formatted as:
Stanford Research Systems,SR124,s/n******,ver#.##
where
******
is the 6-digit serial number, and
#.##
is the firmware
revision level.
*IDN?
Example:
Stanford Research Systems,SR124,s/n098023,ver1.00
Token Mode
TOKN(?)
{
z
}
Set (query) the token response mode
{
to
z
=
(
OFF 0
,
ON 1
)
}
.
Token response mode controls the formatting of response messages
generated by the SR124 to remote queries of token-type values. When
TOKN
OFF
, the SR124 responds with the numeric version of the token
quantity. When
TOKN
ON
, the text version is returned.
TOKN?
Example:
ON
Operation complete
*OPC(?)
The set form,
*OPC
, will set the OPC bit in the Standard Event Status
register; the query form,
*OPC?
, will return the value
1
.
*OPC
is useful for pacing streams of remote commands; the
*OPC
command will not be processed by the command execution of the
SR124 until all preceding commands have been executed. This in-
cludes “slow” commands such as auto gain (
AGAN
).
Note, however, that commands are considered completed once all
hardware settings they require are made; analog settling times are
not
part of the normal “execution” process. As a result,
*OPC
should
not be used to indicate that new instrument settings have settled;
rather, the usefulness of
*OPC
is in assuring that the remote interface
does not overflow or lose synchronization with a user’s application
program.
*OPC?
Example:
1
SR124
Analog Lock-In Amplifier