ADR-Auto Range
41
9901X0215 Issue 5
Appendix 5: Remote Commands
The contents of the ADR-Auto’s test data memory or current test data can be downloaded
using the serial RS232 communications interface. All the commands are sent as a series of
ASCII characters terminated by a Carriage Return. This Appendix describes the commands
and how to use them.
Command Format
All commands sent to the ADR-Auto take the form of a keyword followed by one or more
optional parameters separated by spaces and terminated by a Carriage Return. In this
manual the keyword is shown in capitals followed by the parameter list thus
KEYWORD <
parameter 1> <parameter 2> … <parameter n>
Data Format
All the data transmitted by the ADR-Auto in response to a command is in the form of a
sequence of ASCII characters, terminated by Carriage Return (CR) character preceded by
either an End of Text (EOT) or an End of Transmission (ETX) character. Depending on the
nature of the command received, the ADR-Auto will respond by transmitting one or more
sequences of characters. EOT/CR is used to terminate each data line except the last when
ETX/CR is used. Individual parameters in each data set are separated by a Space
character.
The ADR-Auto always sends a reply to a command to acknowledge that the command has
been received and processed. The reply will consist of an error message if the command
cannot be interpreted, or the information requested by the command. Those commands
which do not return any data, such as CLEAR send back the command received message
consisting of a colon (:), followed by ETX/CR.
Communicating with the ADR-Auto
Once a command has been sent to the ADR-Auto, the host system must wait for a reply
before sending further commands. The ADR-Auto will not send a reply until it has processed
the command and is ready to accept a further command. This command – reply sequence
must be observed at all times to ensure that no data is lost.
Initialising the ADR-Auto
The ADR-Auto has two commands for initialising the system, one for setting and checking
the ADR-Auto’s internal clock, and the other for clearing the sample test data memory.
The CLEAR Command
Clears the ADR-Auto’s data memory and resets the recall pointers.
Syntax
CLEAR
Parameters
None
The TIME Command
Used to set or examine the ADR-Auto’s time setting.
Syntax
TIME <
day
> <
month> <year> <hour> <minute> <second>