Re: Accessing serial port with PythonCE 2.5
Adam Walley <[email protected]> Wed, 16 Dec 2015 10:29:01 +0000
| Newsgroups | gmane.comp.python.windows-ce |
|---|---|
| Message-ID | <CACfqwpL=zq1p0my6otYB5evQJYUd7JnWZQowsQZ-tmMrxEO0xQ@mail.gmail.com> |
--===============5922407335955286824== Content-Type: multipart/alternative; boundary=001a113fa5d0e9b3a00527015f88 --001a113fa5d0e9b3a00527015f88 Content-Type: text/plain; charset=UTF-8 Hello, Just to add to my previous message, the ceserial module uses ctypes to access the same functionality which would be used by a WinCE application written in VB or C#. I have just checked and Microsoft appear to still have the reference pages available, so you may find that the following link can guide you in checking the serial communications: https://msdn.microsoft.com/en-us/library/aa450503.aspx (I am assuming WinCE version 5.0, but I think WinCE 6.0 and later versions will also be available) For checking your device is communicating as expected, you could try to use a third party terminal program that can also access the serial port. I recall using vxHpc and also PocketPuTTY. These can be installed directly onto the WinCE device and allow you to test the serial port. Then you can try connecting the WinCE device directly to a computer to check communication settings are correct, then connect your serial device directly to a computer (just the regular troubleshooting steps really). Good luck AdamW On 16 December 2015 at 09:11, Rushali Watane <[email protected]> wrote: > Hi, > > Please do help me. I have tried with this essential step but not able to > read the data. > Please do needful. > > Regards > Rushali > > > _______________________________________________ > PythonCE mailing list > [email protected] > https://mail.python.org/mailman/listinfo/pythonce > --001a113fa5d0e9b3a00527015f88 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><div><div>Hello,<br><br></div>Just to add to my = previous message, the ceserial module uses ctypes to access the same functi= onality which would be used by a WinCE application written in VB or C#. I h= ave just checked and Microsoft appear to still have the reference pages ava= ilable, so you may find that the following link can guide you in checking t= he serial communications:<br><br><a href=3D"https://msdn.microsoft.com/en-u= s/library/aa450503.aspx">https://msdn.microsoft.com/en-us/library/aa450503.= aspx</a><br><br></div><div>(I am assuming WinCE version 5.0, but I think Wi= nCE 6.0 and later versions will also be available)<br><br></div>For checkin= g your device is communicating as expected, you could try to use a third pa= rty terminal program that can also access the serial port. I recall using v= xHpc and also PocketPuTTY. These can be installed directly onto the WinCE d= evice and allow you to test the serial port. Then you can try connecting th= e WinCE device directly to a computer to check communication settings are c= orrect, then connect your serial device directly to a computer (just the re= gular troubleshooting steps really).<br><br></div>Good luck<br><br></div>Ad= amW<br><div><div><br></div></div></div><div class=3D"gmail_extra"><br><div = class=3D"gmail_quote">On 16 December 2015 at 09:11, Rushali Watane <span di= r=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a>></span> wrote:<br><blockquote class=3D"gmail= _quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:= 1ex">Hi,<br> <br> Please do help me. I have tried with this essential step but not able to<br= > read the data.<br> Please do needful.<br> <div class=3D"HOEnZb"><div class=3D"h5"><br> Regards<br> Rushali<br> <br> <br> _______________________________________________<br> PythonCE mailing list<br> <a href=3D"mailto:[email protected]">[email protected]</a><br> <a href=3D"https://mail.python.org/mailman/listinfo/pythonce" rel=3D"norefe= rrer" target=3D"_blank">https://mail.python.org/mailman/listinfo/pythonce</= a><br> </div></div></blockquote></div><br></div> --001a113fa5d0e9b3a00527015f88-- --===============5922407335955286824== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ PythonCE mailing list [email protected] https://mail.python.org/mailman/listinfo/pythonce --===============5922407335955286824==--