Serial Communication Commands - Stanford Research Systems SIM918 Operating And Service Manual

Precision current preamplifier
Table of Contents

Advertisement

3 – 22
LDDE?
Example:
TOKN(?) z
Example:
TERM(?) z
Example:

3.4.9 Serial communication commands

Device Error
Query the Last Device-Dependent Error code. A query of LDDE?
always clears the error code, so a subsequent LDDE? will return 0.
Valid codes are:
Value
Definition
0
No execution error since last LEXE?
1
Reference clock conflict
2
Unable to autocalibrate
ACAL
LDDE?
0
indicates a successful autocalibration.
Token Mode
Set (query) the token query mode to z
If TOKN ON is set, then queries to the SIM918 that return tokens will
return a text keyword; otherwise they return a decimal integer value.
Thus, the only possible responses to the TOKN? query are ON and 0.
TOKN OFF
Response Termination
Set (query) the term sequence to z
or LFCR 4) .
The term sequence is appended to all query responses sent by
the module, and is constructed of ASCII character(s) 13 (carriage
return) and 10 (line feed). The token mnemonic gives the sequence
of characters.
A reset does not alter TERM. The value in boldface above is the
power-on value.
TOKN ON; TERM?
CRLF
Note that the SIM918 can only support a single baud rate of 9600,
and does not support flow control. A reset does not change the serial
interface settings; use Device Clear.
Remote Operation
(OFF 0, ON 1) .
(NONE 0, CR 1, LF 2, CRLF 3,
SIM918 Precision Current Preamplifier

Advertisement

Table of Contents
loading

Table of Contents