
REMOTE PROGRAMMING
are displayed. The View Queues screen will dis-
play the interface buffers as they are when the
screen is activated. Any further activity will not up-
date the screen until a new screen is displayed us-
ing the View Queues key.
COMMAND SYNTAX
Communications with the SR430 use ASCII char-
acters. Commands may be in either UPPER or
lower case and may contain any number of em-
bedded space characters. A command to the
SR430 consists of a four character command
mnemonic, arguments if necessary, and a com-
mand terminator. The terminator must be a line-
feed <lf> or carriage return <cr> on RS232, or a
linefeed <lf> or EOI on GPIB. No command pro-
cessing occurs until a command terminator is re-
ceived. Commands function identically on GPIB
and RS232 whenever possible. Command mne-
monics beginning with an asterisk "*" are IEEE-
488.2 (1987) defined common commands. These
commands also function identically on RS232.
Commands may require one or more parameters.
Multiple parameters are separated by commas (,).
Multiple commands may be sent on one command
line by separating them with semicolons (;). The
difference between sending several commands on
the same line and sending several independent
commands is that when a command line is parsed
and executed, the entire line is executed before
any other device action proceeds.
There is no need to wait between commands. The
SR430 has a 256 character input buffer and pro-
cesses commands in the order received. If the buf-
fer fills up, the SR430 will hold off handshaking on
the GPIB and attempt to hold off handshaking on
RS232. Similarly, the SR430 has a 256 character
output buffer to store output until the host comput-
er is ready to receive it. If either buffer overflows,
both buffers are cleared and an error reported.
The present value of a particular parameter may
be determined by querying the SR430 for its val-
ue. A query is formed by appending a question
mark "?" to the command mnemonic and omitting
the desired parameter from the command. Values
returned by the SR430 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 command line
(separated by semicolons, of course) the answers
will be returned individually, each with a
terminator.
Examples of Command Formats
The SR430 Multichannel Scaler/Averager may be
remotely programmed via either the RS232 or
GPIB (IEEE-488) interfaces. Any computer sup-
porting one of these interfaces may be used to
program the SR430. Both interfaces are receiving
at all times, however, the SR430 will send re-
sponses only to the interface specified in the
Setup menu (Output To RS232/GPIB function).
Use the OUTP command at the beginning of every
program to direct the responses to the correct in-
terface. All front and rear panel features (except
power) may be controlled.
COMMUNICATING WITH GPIB
The SR430 supports the IEEE-488.1 (1978) inter-
face standard. It also supports the required com-
mon commands of the IEEE-488.2 (1987) stan-
dard. Before attempting to communicate with the
SR430 over the GPIB interface, the SR430's de-
vice address must be set. The address is set in
the Setup GPIB menu and may be set between 0
and 30.
COMMUNICATING WITH RS232
The SR430 is configured as a DCE ( transmit on
pin 3, receive on pin 2) and supports CTS/DTR
hardware handshaking. The CTS signal (pin 5) is
an output indicating that the SR430 is ready, while
the DTR signal (pin 20) is an input that is used to
control the SR430's data transmission. If desired,
the handshake pins may be ignored and a simple
3 wire interface (pins 2,3 and 7) may be used. The
RS232 interface baud rate, number of data bits,
and parity must be set. These are set in the Setup
RS232 menu.
STATUS INDICATORS AND QUEUES
To assist in programming, the SR430 has 4 inter-
face status indicators which are displayed at the
top of the screen. The Activity indicator flashes
whenever a character is received or transmitted
over either interface. The ERR indicator flashes
when an error has been detected, such as an ille-
gal command, or parameter out of range. The
REM indicator is on whenever the SR430 is in a
remote state (front panel locked out). The SRQ in-
dicator is on when the SR430 generates a service
request. SRQ stays on until a serial poll is
completed.
To help find program errors, the SR430 can dis-
play the interface buffers on the screen. This
screen is activated by the View Queues function in
the Setup Communications menu. The last 256
characters received or transmitted by the SR430
79
Содержание SR430
Страница 2: ......
Страница 6: ...4 ...
Страница 22: ...20 Guide To Operation ...
Страница 26: ...24 Guide To Operation ...
Страница 36: ...34 Mode Menu ...
Страница 54: ...52 Save Menu ...
Страница 60: ...58 Recall Menu ...
Страница 70: ...68 Plot Menu ...
Страница 74: ...72 Test Menu ...
Страница 76: ...74 Info Menu ...
Страница 97: ...96 Remote Programming ...
Страница 99: ...98 98 Program Examples ...
Страница 107: ...106 106 Test and Calibration ...
Страница 113: ...112 112 Using Photomultiplier Tubes ...
Страница 125: ...124 124 124 Circuit Description ...