Using Serial Data Commands C–3
Baud Rate
The baud-rate setting is the rate of communication in terms of bits
per second (baud). The Classifier uses a baud rate setting of 9600.
For proper communications, make sure that all software used with
the instrument is set at the appropriate rate.
Parity (7-Bits Even)
Parity is the additional bit that accompanies the seven data bits to
confirm that they are transmitted correctly. It is set so that the
number of “1” bits (high) in a transmitted character is always an
even number. The Classifier uses even parity as the only setting.
Commands
The Classifier uses an ASCII-based communications protocol that
uses the RS-232 port of a computer to transmit commands in the
form of strings.
The two types of commands are:
Read commands, in which the Classifier sends data in response
to a specific request from the computer
Set commands, which set all the operating parameters for the
Classifier
Some things to keep in mind if you are writing your own interface
software to communicate with the Classifier:
No line-feed characters are transmitted.
A “Set” command with no parameter echoes the current
parameter setting.
A “Set” command with parameters echoes "OK" if the parameter
is accepted.
A “Read” command returns the requested value.
All other commands will return an "OK" if executed unless
otherwise noted. The response "ERROR" will be returned if the
command is not understood or has an invalid parameter.
Commands returning multiple parameter are separated with “,”.