Determines if the connection between a DTC port and a terminal
is functioning properly. TermDSM writes a line of characters to
the terminal and orders it to send that line back. TermDSM then
compares the characters received with those sent.
Description |
 |
When the subcommand is entered the following question is asked:
Do you want to stop looping if an error is found (yes/no)?
|
If you answer yes, the series of diagnostics will stop if
an error is encountered. For example, you specified you want the
write/read operation to run 10 times and an error is encountered
in the third test. If you answered yes to the above question, the
remaining seven write/read operations will not be run. If you answered
no, all 10 write/read operations will be executed regardless of
the results of each test. The following is then printed on the terminal:
Please connect and make ready (power on, remote mode, etc.) a supported terminal, before answering the "How many times?" question. (TDSM 114)
|
How many times do you want to repeat this operation?
|
You should prepare the terminal and then enter how many times
you want to run this diagnostic function. Enter a number between
1 and 65535. The following is then displayed:
Type CONTROL_Y to stop the looping.
|
Any time that you want to stop the diagnostic, press [CTRL]-Y.
The diagnostics prompt will be printed and you will be allowed to
enter another subcommand.
This diagnostic function tests the connection between the
DTC port up to and including some terminal functions. (It is not
a thorough terminal test.) It does this by writing a string of characters
to the terminal and ordering the terminal to send those characters
back for comparison. The string of characters sent by TermDSM is
preceded by:
[ESC]-H [ESC]-J
which homes the cursor on the screen and clears the screen.
Then the character string:
ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_'abcdefghijklmnopqrstuvwxyz
|
is written to the terminal, followed by:
[ESC]-H [ESC]-D
which homes the cursor and causes the terminal to return the
character string. (Sending [ESC]-D to the terminal
is the same as pressing [Return].)
If TermDSM knows that this test has failed, an error message
will be printed listing the reason for the failure and how many
milliseconds the test ran before failing.
The diagnostics prompt will be printed and you will be allowed
to enter another subcommand.