Stanford Research Systems SR865A Operation Manual page 122

4 mhz dsp lock-in amplifier
Table of Contents

Advertisement

104
Programming
Real number variables may be expressed in integer, floating point or exponential formats
( i.e., the number five can be either 5, 5.0, or .5E1).
Strings are a sequence of ASCII characters within quotes ("...").
Units
For numerical values of frequency, phase or volts, a units string may be appended to a set
command. If the unit string is omitted then the value is assumed to be the base unit, either
Hz, degrees or Volts. The accepted unit strings are:
For example, the following commands to set the internal frequency are all equivalent
Queries of f, p or v always return the value in the base units of Hz, degrees or Volts.
Enumerated Strings
Many commands have an enumerated list of allowed settings. It is possible to specify the
setting with a string instead of the integer index. Using the enumeration strings improves
the readability of your source code.
Enumerated strings can either be the substring shown in CAPS or the full string. For
example, the enumeration string "ABCDefgh" can be sent as 'abcd' or 'abcdefgh'. The
string can be sent with any capitalization.
For example, the
This command is specified as
The following commands are all equivalent ways to set the input to voltage.
These commands are all equivalent ways to set the input to current.
The
IVMD?
SR865A DSP Lock-in Amplifier
"NV"
nanoVolts
"UV"
microVolts
"MV"
milliVolts
"V"
Volts
FREQ 1234.56
FREQ 1234.56 HZ
FREQ 1.23456 KHZ
IVMD i
command sets the input to either voltage (i=0) or current (i=1).
IVMD(?) { VOLTage | CURRent | i }
IVMD 0
IVMD VOLT
IVMD VOLTAGE
IVMD 1
IVMD CURR
IVMD CURRENT
query always returns the setting index i (0 or 1 in this case).
"HZ"
Hertz
"KHZ"
kiloHertz
"MHZ" megaHertz
Chapter 4
"UDEG" microDegrees
"MDEG" milliDegrees
"DEG"
Degrees

Advertisement

Table of Contents
loading

Table of Contents