Description:
    This batch file attempts to verify that the level 3 serial port diagnostic commands
    can be executed.
   
******************************************************************************************
    Clear the Expected Batch File Errors.
   ******************************************************************************************
    -*9                                 All Level '*' Command: Special Batch File Function - Clear Expected Errors
   
******************************************************************************************
    Enable error logging and clear the error log.
   ******************************************************************************************
    -/LE1                               Level L 'E' Command: Enable / Disable Logging
    -/LiFFFC                            Level L 'i' Command: Initialize Log File
   
******************************************************************************************
    Display the help information for the Level 3 commands.
   ******************************************************************************************
    -/CQ3                               Level C 'Q' Command: Display ASCII Command Information
   
******************************************************************************************
    Change to Command Level 3.
   ******************************************************************************************
    -/3                                 All Level '/' Command: Change Diagnostic Command Level
   
******************************************************************************************
    Display the active error log.
   ******************************************************************************************
    -E                                  'E' Command: Display / Edit Log
   
******************************************************************************************
    Test the hardware access commands.
   ******************************************************************************************
    -V                                  'V' Command: Read or Write Power ASIC Register
   
******************************************************************************************
    Test the spin commands.
   ******************************************************************************************
    -Z                                  'Z' Command: Spin Down Drive
    -U                                  'U' Command: Spin Up Drive
   
******************************************************************************************
    Test the load / unload command.
   
    Note: For drives that do not implement this command will generate an error
    (DiagError 6004 - Invalid Servo Symbol Table Entry).
   ******************************************************************************************
    -*A,6004,0,1                        All Level '*' Command: Special Batch File Function - Set Expected Error
    -b1                                 'b' Command: Load/Unload Heads - Unload
    -b0                                 'b' Command: Load/Unload Heads - Load
   
******************************************************************************************
    Measure the Latch Force.
   ******************************************************************************************
    -c                                  'c' Command: Measure Latch Force
   
******************************************************************************************
    Test the seek commands.  The command that perform multiple seeks are tested first,
    then the Test Space is set to single track mode and the seek commands are tested.
    This will initializes the diagnostic current and target address for future commands
    that use them.
   ******************************************************************************************
    -D                                  'D' Command: Measure Seek Access Time
    -O,,5,1                             'O' Command: Seek Repeatedly Between Physical Cylinders
    -A0                                 All Level 'A' Command: Set Test Space
    -s200,0,22                          's' Command: Seek to Physical Cylinder and Head
    -.                                  Online '.' Command: Display Active Status
    -S200,0                             'S' Command: Seek to Logical Cylinder and Head
    -.                                  Online '.' Command: Display Active Status
    -H0                                 'H' Command: Select Logical Head
    -.                                  Online '.' Command: Display Active Status
    -R                                  'R' Command: Read Current Servo Destination
   
******************************************************************************************
    Test the address translation commands.  The seek commands are tested prior to these
    commands to initialize the diagnostic current and target address.
   ******************************************************************************************
    -p                                  'p' Command: Translate Physical Sector
    -q                                  'q' Command: Translate Logical Sector
   
******************************************************************************************
    Test the read and write commands.
   
    Note: Since we are reading and writing on a track whose defect status is unknown, the
    read commands may generate errors (DiagError xxxx).
   ******************************************************************************************
    -Q                                  'Q' Command: Write, Read, Write, Read CHS
    -.                                  Online '.' Command: Display Active Status
   
******************************************************************************************
    Test the Real Time Servo Tracing command.  Beacause this command outputs raw binary
    data to the serial port, Raw ASCII Output mode is selected before issuing this command.
    In this mode the ASCII representation of the raw binary data will be output to the
    serial port.
   ******************************************************************************************
    -/TO2                               Level T 'O' Command: Select Data Output Mode
    -/3                                 All Level '/' Command: Change Diagnostic Command Level
    -f0                                 'f' Command: Real Time Servo Trace - PES
    -f2                                 'f' Command: Real Time Servo Trace - Seek Profile
    -/TO                                Level T 'O' Command: Select Data Output Mode
    /3                                  All Level '/' Command: Change Diagnostic Command Level
   
******************************************************************************************
    Display the Active Error Log and check if the Batch File failed.
   ******************************************************************************************
    -*B                                 All Level '*' Command: Special Batch File Function - Display Log
    -|                                  '|' Command: Batch File Terminator