ASTi Telestra Gebruikershandleiding - Pagina 8
Blader online of download pdf Gebruikershandleiding voor {categorie_naam} ASTi Telestra. ASTi Telestra 9 pagina's. Remote control interface
Ook voor ASTi Telestra: Gebruikershandleiding (10 pagina's)
ASTi Telestra Remote Control Interface User Guide (Version 1, Revision A)
Debugging the Remote Control Interface
The Telestra software can print the commands sent and received through the remote control inter-
face. To do this, add the line
DEBUG_HOST = ON
to the configuration file. Commands to and from the Telestra federate will be printed to the con-
sole:
From Host: 'status\n'
To telestra : 'status'
To Host: 'RESIGNED\n'
"From Host" is the data that was received from the host computer. Note that the <cr> is explic-
itly indicated. A command will not be evaluated until a <cr> is received. "To telestra" is the
command as it is passed to the Telestra system. These might be different if the host sends two
commands at once. For example. if the host sends the string "status\nobject\n\n", the
debug output would be:
From Host: 'status\nobject\n\n'
To telestra : 'status'
To Host: 'RESIGNED\n'
From Host: ''
To telestra : 'object'
To Host: 'ENDLIST\n'
From Host: ''
To telestra : ''
To Host: '\n'
The input software parses the input and passes the commands to the Telestra one at a time.
When debugging is complete, you should comment out the DEBUG_HOST command from the
configuration file.
The host emulation program, hostemu, can be used to see how the Telestra software responds to
various commands.
Copyright © 1999-2000 Advanced Simulation Technology inc.
6