Troubleshooting Terminal, Printer, and Serial Device Connections - Edition 5 (32022-90058)

TermDSM Commands
DI[AG]
Chapter 4
48
Parameters
dtcnum
The number TermDSM associates with a particular DTC. The DTC
command lists each DTC with its assigned number. This list is also
printed when you make a mistake while typing in a DTC number.
cardnum
Number of the interface card within the DTC to which the device is
connected. The cards are numbered from zero beginning at the bottom
of the DTC.
portnum
Number of the port on the interface card. As you face the back of the
DTC, the ports are numbered from zero beginning at the left of the
board.
CAUTION This subcommand aborts the session at the terminal under test. Data for that session is
lost.
Description
This diagnostic is supplied primarily for use with devices that do not support loopback
tests, such as serial printers, or unsupported terminals.
When the subcommand is entered you will be asked:
Do you want to stop looping if an error is found (yes/no)?
If you answer yes, the series of print operations will stop if an error is encountered. For
example, you specified you want the test to run 10 times and an error is encountered in
the third printing. If you answered yes to this last question, the remaining seven tests
will not be run. If you answered no, all 10 print 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 printer (or terminal), before answering the “How many
times?” message. (TDSM 115)
How many times do you want to repeat this operation?
You should then enter how many times you want to run the print operation. Enter a
number between 1 and 65535. Then the following is 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.
The Print subcommand sends the following string of characters to the device:
JKLMNOPQRSTUVWXYZ[\]^_'abcdefghijklmnopqrstuvwxyz
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.
NOTE If the test passes according to TermDSM, then it is your responsibility to inspect the
output of the test to see if it matches the string of characters listed above. TermDSM
cannot know the final outcome of the test; therefore, the only way to be sure that the test
was successful is through visual inspection.
The diagnostics prompt will be printed on the terminal in order to allow you to enter
another subcommand.