Chapter 4
Programming 103
SR865A DSP Lock-in Amplifier
Command Syntax
A command to the SR865A consists of a command mnemonic, a space followed by
arguments if necessary, and a command terminator.
There MUST be at least one space
between the command and the first argument.
Multiple arguments are separated by
commas. Some commands have no arguments. The command terminator must be a
linefeed <lf> on RS-232, or a linefeed <lf> or EOI on GPIB. No command processing
occurs until a command terminator is received.
Commands function identically on all interfaces whenever possible. Command
mnemonics beginning with
an asterisk ‘
’ are IEEE
-488.2 defined common commands.
These commands also function identically on the other interfaces.
Multiple commands may be sent on one command line by separating them with
semicolons (;).
The present value of a particular parameter may be determined by querying the SR865A
for its value. A query is formed by appending a question mark ‘?’ to the command
mnemonic and omitting the desired parameter(s) from the command. No space is allowed
between the command and the ‘?’. Values returned
by the SR865A are sent as a string of
ASCII characters. If multiple queries are sent on one command line (separated by
semicolons, of course) the responses will be returned as semicolon-separated strings.
Command Conventions
Commands and arguments may be in either UPPER or lower case.
Arguments shown in
{ }
are optional or may be queried.
Arguments in
[ ]
are required.
A list of allowable enumerated values is shown as
A | B | C
. The argument can be either
A or B or C.
Commands that may be queried have a question mark in parentheses (?) after the
mnemonic. Commands that may ONLY be queried have a ? after the mnemonic, without
parentheses. NO SPACE is allowed between the mnemonic and the ?. Commands that
MAY NOT be queried have no ?.
Do NOT send ( ) or { } or [ ] or | as part of the command. A space is required
between a command and its arguments.
Variables
i, j, k, l, m, n
integers
x real
number
f
frequency (real number)
p phase
(real
number)
v voltage
(real
number)
s
“
string
”
Integer variables must be expressed in integer format (no decimal point or exponent).
Summary of Contents for SR865A
Page 5: ...Safety and Preparation For Use iii SR865A DSP Lock in Amplifier...
Page 6: ...iv Safety and Preparation For Use SR865A DSP Lock in Amplifier...
Page 54: ...36 Getting Started Chapter 1 SR865A DSP Lock in Amplifier...
Page 118: ......
Page 172: ......
Page 186: ...168 The FFT Display Appendix B SR865A DSP Lock in Amplifier...
Page 192: ......