PARTEST PET PE

Description:

Tests the current commands in effect for the parallel port by simulating control input. You can simulate input by arguing a string of hex digits as a single argument, and each one will be processed as if that was the current read of the parallel port. After all characters are processed, the last one will remain asserted and all inputs from the physical parallel port are ignored. When you want to re-enable reads from the physical port, issue this command with no arguments. If you want to view the simulation on the RS-232 port, turn the dump on by using the PARDUMP ON command.

Form:

  PARTEST|PET|PE [HEXDIGITS]
  Argument List:
  Argument      Description
  HEXDIGITS     ASCII text string of single character hex digits, emulates the parallel
                interface logic.

Response:

  PARTEST RESPONSE
    Verbose- "OK\r\n" to acknowledge receipt of command, or
             "ERROR- [Description]\r\n" if error, ending command
    Terse-   "0\r\n" to acknowledge receipt of command, or
             "[NON-ZERO POSTIVE ERROR NUMBER]\r\n" if error, ending command
    "\r\n" concludes modify responses (empty line)

Examples:

  Verbose command to issue a play command:
  PARTEST 1 <enter>
     Response is: OK\r\n

  Terse command to issue a play command:
  PE 1 <enter>
     Response is: 0\r\n

Notes:

  If bit mode, Commands: <1, 2, 4, 8>
  If multiplex mode, Commands: < 1-9, A-F>

Products Supporting Command

Created By: Adtec Digital