ACC Utilities Reference Guide

Chapter 5 145
ZTERM - Interactive Routine Interface
ZTERM Available Commands
messagesreceivedforthedurationofthecommandandtheelapsedtime
in milliseconds. T his information is displayed when the command is
stopped or completes.
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 ha s
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 millis econds. This information is displayed wh en the command is
stopped or completes.