Author Topic: TLazSerial: serial port component for Lazarus (windows and linux). (Read 142228 times). Feb 13, 2017 Author Topic: TLazSerial: serial port component for Lazarus (windows and linux). (Read 134782 times). SdpoSerial.zip Serial port interface component for Lazarus. Serial Port Component For Lazarus Come Forth. SdpoSerial in Lazarus as a component. Hi, Thanks for that. In the second link, I see that he installs fpc 2.6.0 from the repository, then updates it to 2.7 and then installs Lazarus 1.0.6. He provides 2 scripts to do this but I gather they have mistakes in them! I will give it a try with a fresh installation of Raspbian as soon as I get the time. Thanks for your help. I did also have the thought that the gps daemon makes the gps info available at local port 2947. Lazarus Create ComponentIs there a function in fpc to open a local port? Hicom software assistant l. That saves messing around with USB! If you have successfully compiled the example of lazserial sertest: 1 - launch sertest 2 - in port settings/port enter your first virtual serial port ( ex for me /dev/pts/5) don't use combo button because virtual serial ports are not detected) 3 - close the port settings window and click on the open button. 4 - launch another sertest 5 - in port settings/port enter your second virtual serial port ( ex for me /dev/pts/6) 6 - close the port settings window and click on the open button. 7 - in your first sertest check RMC and click on the start simulator button. 8 - if all is good, you can see RMC frames in the memo of the second sertest like this. Things're getting better. See the picture added. All string received perfect, no errors. From time to time I delete the field of incoming strings, by clicking in the field ( memobox). Crack sound effect download. Just to be sure, I don't know much text it can contain. In the code I've modified some thing but another major thing is that I now use the onboard RS232 port. I had some strange acting with the extern-USB-hub with the USB-to-serial-pcbs. Dont's knowe exactly where the problem is, but from time to the the pc messaged hardware connected/disconnected You know when you're in decive manager and thing begin to pop when connecting/disconnecting hardware. In my case that was COM 4 ( via the USB-hub.usb_to_serial etc etc ) Going to find out what the problem is, later. Soon I'll strip my code to RS232 comucication only: remove the slide bars etc etc.to get short and clear code and will post it here in zipp. As next i gonna remove the texwritng in the left box, it's been tested, so don't need to see it. Send/receive each 250ms. About the USB serial problems, I found that some USB cables (perhaps most) have unreliable connection of the shell to the shield. The shell is just crimped to the shield over the jacket and eventually the connection becomes unreliable.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |