ASTi Telestra Panduan Pengguna - Halaman 8

Jelajahi secara online atau unduh pdf Panduan Pengguna untuk Peralatan Perekaman ASTi Telestra. ASTi Telestra 9 halaman. Remote control interface
Juga untuk ASTi Telestra: Panduan Pengguna (10 halaman)

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