Interface Commands - Stanford Research Systems SR124 Operation And Service Manual

Analog lock-in amplifier
Table of Contents

Advertisement

4 – 18

4.4.12 Interface commands

*IDN?
Example:
TOKN(?) z
Example:
*OPC(?)
Example:
Identify
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?
Stanford Research Systems,SR124,s/n098023,ver1.00
Token Mode
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?
ON
Operation complete
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?
1
Remote Operation
SR124 Analog Lock-In Amplifier

Advertisement

Table of Contents
loading

Table of Contents