HP 3000 Manuals

DIAG I[nternal] [ Troubleshooting Terminal, Printer, and Serial Device Connections ] MPE/iX 5.0 Documentation


Troubleshooting Terminal, Printer, and Serial Device Connections

DIAG I[nternal] 

Determines if a specific port is functioning properly without
disconnecting the device from the port.

Security level:  2.

Syntax 
________________________________________________________________________
|                                                                      |
|                                                                      |
|I[NTERNAL] dtcnum,cardnum,portnum                                     |
________________________________________________________________________

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.

Range:           0 - 5

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.

Range:           0 - 7 for direct connections.

                 0 - 5 for modem connections.

Description 

This diagnostic cannot test all the functions that are possible with a
hood (loopback connector), since the DTC connection itself cannot be
tested without a hood.  However, this diagnostic has the advantage that
no cables need to be disconnected from or additional equipment connected
to the port.

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 loopback tests 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 test.  If you answered yes
to the above question, the remaining seven loopback tests will not be
run.  If you answered no, all 10 loopback tests will be executed
regardless of the results of each test.  The following question is then
printed on the terminal:

     How many times so you want to repeat this operation?

You should 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.

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.

Example 

     (diagnostics)

     SElftest #      (DTC Selftest)
     PRint    #,#,#  (Print to specified port)
     Internal #,#,#  (Internal loopback on specified port)
     EXTernal #,#,#  (Loopback through hood on specified port)
     Terminal #,#,#  (Write and read to terminal on that port)

     (carriage return to exit) ?I 3,2,5 
     Do you want to stop looping if an error is found (yes/no)? y
     How many times do you want to repeat this operation? y
     Type CONTROL_Y to stop the looping.

     The test passed 4 times and failed 0 times.

     (diagnostics)

     SElftest #      (DTC Selftest)
     PRint    #,#,#  (Print to specified port)
     Internal #,#,#  (Internal loopback on specified port)
     EXTernal #,#,#  (Loopback through hood on specified port)
     Terminal #,#,#  (Write and read to terminal on that port)

     (carriage return to exit) ?

The example Internal Port subcommand above executes the internal loopback
test four times on the sixth port of the third card of DTC number three.
(Remember that ports and cards are numbered starting with zero.)  There
will be no output to the terminal under test.



MPE/iX 5.0 Documentation