Command Syntax - Stanford Research Systems SR865A Operation Manual

4 mhz dsp lock-in amplifier
Table of Contents

Advertisement

Chapter 4

Command Syntax

A command to the SR865A consists of a command mnemonic, a space followed by
arguments if necessary, and a command terminator.
between the command and the first argument.
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 '
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 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
Integer variables must be expressed in integer format (no decimal point or exponent).
i, j, k, l, m, n
integers
x
real number
f
frequency (real number)
p
phase (real number)
v
voltage (real number)
s
"string"
There MUST be at least one space
Multiple arguments are separated by
' are IEEE-488.2 defined common commands.
A | B | C
. The argument can be either
SR865A DSP Lock-in Amplifier
Programming
103

Advertisement

Table of Contents
loading

Table of Contents