L
LA
AS
SA
AIIR
R III
I O
Op
peerraatto
orr’’s
s M
Maan
nu
uaall
P
Paag
ge
e G
G--1
1
Appendix G
Appendix G
LASAIR II Native Serial (RS-2332)
LASAIR II Native Serial (RS-2332)
Communications
Communications
The LASAIR II native communications mode is a
The LASAIR II native communications mode is a simple, RS-232 point-to-
simple, RS-232 point-to-
point protocol,
point protocol, with no
with no addressing or
addressing or checksum overhead. It
checksum overhead. It can be used
can be used with a
with a
simple terminal emulator program, or be used as a basis for instrument control.
simple terminal emulator program, or be used as a basis for instrument control.
It is an upgrade path for users with older LASAIR
It is an upgrade path for users with older LASAIR instruments.
instruments.
Native Serial Protocol Fundamentals
Native Serial Protocol Fundamentals
••
All characters are echoed.
All characters are echoed.
••
Software flow control (
Software flow control (
CTRL-Q/CTRL-S
CTRL-Q/CTRL-S
) is used.
) is used.
••
A command prompt of “
A command prompt of “
>
>
” is output between commands and data packets.
” is output between commands and data packets.
••
Automatic data output is generated.
Automatic data output is generated.
••
All commands return either an “
All commands return either an “
OK
OK
” or an error response followed by a <
” or an error response followed by a <
CR
CR
>.
>.
••
All commands except LASAIR “
All commands except LASAIR “
C
C
” commands return current parameter
” commands return current parameter
values. This can be used for sanity checking.
values. This can be used for sanity checking.
••
Many commands are similar to older LASAIR serial commands.
Many commands are similar to older LASAIR serial commands.
Native Serial Protocol Error Messages
Native Serial Protocol Error Messages
Error --No C Command
Error --No C Command
The “
The “
C
C
” command is given with no arguments.
” command is given with no arguments.
Error --Not Supported
Error --Not Supported
An invalid or unsupported “
An invalid or unsupported “
C
C
” command was
” command was
sent.
sent.
Error --Parameter
Error --Parameter
A command was sent with an insufficient number of
A command was sent with an insufficient number of
parameters.
parameters.
Table G-1: RS-232 Connector Pinout
Table G-1: RS-232 Connector Pinout
P
Piin
n
P
Piin
n F
Fu
un
nc
cttiio
on
n
2
2
TX
TX
3
3
RX
RX
5
5
G
GN
ND
D