pyIPER PIL-Box command error: illegal retval - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: pyIPER PIL-Box command error: illegal retval (/thread-10065.html) |
pyIPER PIL-Box command error: illegal retval - Craig Bladow - 02-01-2018 03:26 AM I'm attempting to run pyILPER 1.6.0 on Linux Mint 18.3 and connect to my home built PIL-Box running v2.1. I followed the directions to install miniconda and pyILPER. I get this error on start: "PIL-Box command error: illegat reval" on a reconnect the error is "Cannon connect ot PIL-Box: PIL-Box command error: illegal retval". I've tried all Baud settings. My user is in the dialout group. pyILPER seems to be seeing the serial device as the error is different if I configure the wrong one on purpose. RE: pyIPER PIL-Box command error: illegal retval - jsi - 02-01-2018 08:18 AM The error is thrown if the return value the PIL-Box sends after it got a command has not the expected value. In most cases this is a baud rate related problem which you have already checked. Is there any other serial device pyILPER is accidently connected to? Regards Joachim RE: pyIPER PIL-Box command error: illegal retval - Craig Bladow - 02-03-2018 10:35 PM I've checked my USB-serial converter for proper operation, and then modified it to provide 5 volt signals as it was set to 3.3 volts. I have also tried it on a Windows computer with the error that the PIL box is not respondingl I believe the baud rate is correct but my ancient oscilloscope failed before I could measure the actual signal! I currently suspect a wiring mistake on my part. |