ACC Utilities Reference Guide

ZTERM - Interactive Routine Interface
ZTERM Available Commands
Chapter 4 121
RV - Receive and validate messages
Format: RV,[LI],[AC],[maxtime]
Receive and validate messages from primary ZLU. This command works
in conjunction with the TV command in another copy of ZTERM to
validate both message content and sequence.
Optionally LI may be specified to list the incoming data in hex as it is
received. AC may also be specified if the protocol module requires
reactivation after each received message.
The command optionally has a maximum runtime set in the [maxtime]
parameter. If this is zero then the command runs without a time limit,
otherwise it will terminate after [maxtime] seconds.
The RV command will also terminate if it received a start message, and
then receives end messages from all the terminal ZLUs from which it has
received messages - see the TV command.
RX - Receive on ZLU
Format:- RX,[LIst],[ACtivate],[maxtime]
RX receives and displays messages received on ZTERM’s program ZLU.
This is a blocking command and will remain active until a ZCOM call
error is encountered (such as ZCOM shutdown, ierr=-2), or until a
SIGINT (usually ^C) is received by ZTERM. It accumulates the number
of messages received for the duration of the command and the elapsed
time in milliseconds. This information is displayed when the command is
stopped or completes.
The options have the following meanings:
LIst Display the contents of the messages as well as the
statistical information.
AC Activate the terminal ZLU after every received
message (restart polling).
maxtime This parametersets a maximum runtime, in seconds. If
this is zero then the command runs without a time
limit, otherwise it will terminate after [maxtime]
seconds.