90088262 MCS130B
CORNERSTONE 130B MONOCHROMATORS
47
15.3 COMMAND AND QUERY SYNTAX
For the purposes of this discussion, communication with the instrument is divided into t wo t y pes.
Messages sent to the CS130B from the computer are
called “Statements”, and messages received
by the computer from the monochromator are
called “Responses”. When communicating with the
instrument, two types of Statements are used:
“Commands” and “Queries”. A Command c aus es
some physical action or sets an internal parameter. A Query asks a question of t he ins t rument,
which returns a Response. Fundamentally, the syntax is the same for all messages.
Termination
Responses from the CS130B end with a carriage return (ASCII character code 13 decimal) and
linefeed (ASCII character code 10 decimal). The Detailed Command Reference in t his Appendix
does not show the termination characters.
Capitalization
Statements may be sent in upper case, lower case, or in any combination of the two.
Parameters
Some Statements require a parameter, separated from the command by at least one space.
Numeric parameters can be strings representing either integers or floating point numbers. S ome
commands accept alphabetic strings.
15.4 STANDARD MODE
Most communication with the CS130B, especially within
customers’ applic ation software, uses
Standard mode (as opposed to Handshake mode).
In Standard mode the CS130B does not send the status byte after general Statements as in
Handshake mode. To select Standard mode, send the command “Handshake 0”.
In Standard mode, statements are handled as follows:
Commands
If Echo is turned on, the CS130B echoes back all characters it receives on the RS232 port. Thus,
after sending a Command, an application must read back the echoed command. There is no
further response to a Command. Note: Statements received on the USB port are never echoed.
Example (RS-232, echo on):
Send: GOWAVE 500[cr][lf]
Response: GOWAVE 500[cr][lf]
Example (RS-232, echo off):
Send: GOWAVE 500[cr][lf]
Response: (none)
For commands received on the USB port, the CS130B sends no echo and no other response to a
command.
Example (USB):
Send: GOWAVE 500[cr][lf]
Response: (none)
Содержание Cornerstone 130B
Страница 1: ...90088262MCS130B Rev B s 1 8m Monochromator Family User s Manual Cornerstone 130B...
Страница 32: ...90088262 MCS130B CORNERSTONE 130B MONOCHROMATORS 32 Figure 23 Model 74010 Filter Wheel...
Страница 42: ...90088262 MCS130B CORNERSTONE 130B MONOCHROMATORS 42 14 13BDIMENSIONS Figure 30 Cornerstone 130B Dimensions...
Страница 44: ...90088262 MCS130B CORNERSTONE 130B MONOCHROMATORS 44 Figure 33 Model 74006 Mounting Plate...