5-2
Remote Programming
be determined by querying the SR830 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.
Values returned by the SR830 are sent as a string
of ASCII characters terminated by a carriage
return <cr> on RS232 and by a line-feed <lf> on
GPIB. If multiple queries are sent on one com-
mand line (separated by semicolons, of course)
the answers will be returned individually, each with
a terminator.
Examples of Command Formats
FMOD 1 <lf>
Set reference source to
internal
FREQ 10E3 <lf>
Set the internal reference fre-
quency to 10000 Hz (10 kHz)
❊
IDN? <lf>
Queries the device
identification
STRT <lf>
Starts data acquisition
OUTP? 1 <lf>
Queries the value of X
INTERFACE READY AND STATUS
The Interface Ready bit (bit 1) in the Serial Poll
Status Byte signals that the SR830 is ready to
receive and execute a command. When a com-
mand is received, this bit is cleared indicating that
an operation is in progress. While the operation is
in progress, no other commands will be pro-
cessed. Commands received during this time are
stored in the buffer to be processed later. Only
GPIB serial polling will generate a response while
a command is in progress. When the command
execution terminates, the Interface Ready bit is set
again and new commands will be processed.
Since most commands execute very quickly, the
host computer does not need to continually check
the Interface Ready bit. Commands may be sent
one after another and they will be processed
immediately.
When using the GPIB interface, serial polling may
be used to check the Interface Ready bit in the
Serial Poll Byte while an operation is in progress.
After the Interface Ready bit becomes set, signal-
ling the completion of the command, then the ERR
or ESB bit may be checked to verify successful
completion of the command.
If the RS232 interface is used, or serial polling is
not available, then the
❊
STB?,
❊
ESR?, ERRS?,
and LIAS? status query commands may be used
to query the Status Bytes. Since the SR830 pro-
cesses one command at a time, the status query
will not be processed until the previous operation
is finished. Thus a response to the status query in
itself signals that the previous command is fin-
ished. The query response may then be checked
for various errors.
GET (GROUP EXECUTE TRIGGER)
The GPIB interface command GET is the same as
the TRIG command. GET is the same as a trigger
input. GET only has an effect if the sampling rate
is triggered or if triggers start a scan.
Summary of Contents for SR830
Page 5: ...1 4...
Page 11: ...SR830 DSP Lock In Amplifier 1 10...
Page 13: ...2 2 Getting Started...
Page 17: ...2 6 The Basic Lock in...
Page 23: ...2 12 Outputs Offsets and Expands...
Page 25: ...2 14 Storing and Recalling Setups...
Page 31: ...3 4 SR830 Basics...
Page 33: ...3 6 SR830 Basics...
Page 37: ...3 10 SR830 Basics...
Page 53: ...3 26 SR830 Basics...
Page 74: ......
Page 83: ...4 30 Rear Panel...
Page 107: ...5 24 Remote Programming...
Page 113: ...5 30 Remote Programming...
Page 117: ...5 34 Remote Programming...
Page 121: ...6 4 Performance Tests...
Page 123: ...6 6 Performance Tests...
Page 125: ...6 8 Performance Tests...
Page 129: ...6 12 Performance Tests...
Page 131: ...6 14 Performance Tests...
Page 133: ...6 16 Performance Tests...
Page 139: ...6 22 Performance Tests...
Page 145: ...7 2 Circuit Description...