Syntactic Confectionery Delight | |
PerlMonks |
Re: Win32::SerialPort on Win10 issueby jmClifford (Acolyte) |
on Jul 03, 2024 at 06:19 UTC ( [id://11160333]=note: print w/replies, xml ) | Need Help?? |
Hi. I was hoping for a recognizable known fault. I trust that I provide the additional data with a comment (like this) to the Issue trail. I can establish the correctness on the USB unit (OBD2 LM327) connected to COM5 with RealTerm SW (on Laptop Win 10 system). I did have some screen dumps to demonstrate this. But I am unsure if this is possible with this interface. These RealTerm dumps do demonstrate connection of 38,400 baud and 8N1. Also transmitting the command "ati\n" (\n carriage return) gives a response of "ELM327 v1.5 carriage return". Note I have ensured the echoing is off ("ate0\n"), prior to this. This USB unit's operation copies modem AT commands. The next part of this involves running the same COM5 port setup with not RealTerm but with Perl. The manipulation of the configuration can be achieved with a program like (and the response just below it) ;
I seem to have no issues with the manupilation of the configuration of COM5. However, if I cross to a write then read program, coping the above RealTerm success of outputting "ati\n", I get no success. The code used and the response is;
As you can see from the above I get to the endless loop without any information presented. My IDE is Eclipse. Regards JC......
In Section
Seekers of Perl Wisdom
|
|