PARCHAR PCH PC Description:Returns the current value from the parallel port. This command is used in the test fixture to determine if the parallel port is functioning properly during the initial system testing. Form:PARCHAR|PCH|PC Argument List: none Response:PARCHAR RESPONSE Verbose- "OK\r\n" to acknowledge receipt of command if OK followed by "Decimal=d Hex=xx Binary=bbbb" to return the 'character' found by reading the parallel port, or "ERROR- [Description]\r\n" if error, ending command Terse- "0\r\n" to acknowledge receipt of command if OK followed by "0x" to return hex 'character' found by reading the parallel port "[NON-ZERO POSTIVE ERROR NUMBER]\r\n" if error, ending command "\r\n" concludes modify responses (empty line) Examples:Verbose command to retrieve current value: PARCHAR <enter> Response is: OK\r\n Decimal=9 Hex=09 Binary=1001\r\n Terse command to retrieve current value: PC <enter> Response is: 0\r\n 0x09\r\n Notes:Products Supporting Command
Created By: Adtec Digital |