Serial Port Component For Lazarus David
Raw Message Thank you all who responded to my initial inquiry. Your responses were helpful. I am starting to get into Lazarus, as recommended by others on this list, but I wonder about its limitations, given that it is still in Beta release. I have a large DOS era shareware astronomy program written in Borland Pascal I want to port to a Windows and possibly also a cross platform environment. (There are a lot of other astronomy programs out there, but this one still has some unique features.) Are there major unresolved issues or unsupported features in Lazarus that would likely throw up road blocks if I take the plunge with a real project? Is printing to network and high res color printers in a Windows environment transparent and problem free? I also need serial communications support to interface with telescopes.
The DOS version communicates over an RS232 port, but I would like to add/substitute USB support. How about file transfer across the internet from within the program? I don't have this feature in the DOS version, but I would like to add it. Would these kinds of issues be barriers to cross platform development? -David Chandler (By the way, is there anyone out there who would like to collaborate on the project? If so, contact me individually.
It is a star mapping program called Deep Space that does a lot with multiple map projections, comet and asteroid computations, multiple databases, telescope pointing control, and more.). I also need serial communications support to interface with telescopes. The DOS version communicates over an RS232 port, but I would like to add/substitute USB support.

I am developing a digital osciloscope on an ISA card and with a graphical interface created on Lazarus. It is already able to communicate wonderfully with out ISA card both on Windows and on Linux, with the same source code (using some IFDEFs of course) and draw really fast graphics without any custom library (we are running the app on a 233Mhz computer).
The project will be finished on 1 to 2 months and is quite software intensive. We are implementing the trigger, Fourier Analisys, a fast custom drawing component, precision timers (we need less then 1 microsecond precision) and many other things on this program, so I really would say it is ready.
After strip and upx my graphical interface for the osciloscope is 700kb heavy on linux and 400kb on windows. It works wonderfully on both. For me the worse problem is button glyphs being problematic on Windows. But this should be fixed still this year.
Aside from that only small anoyances, but nothing that really blocks me. How about file transfer across the internet from within the program? At least, there are plenty of units for this one;-). Synapse is cross platform, and the main FPC sockets unit is crossplatform.
Synapse and any synapse wrappers out there, are a bit higher level than programming with the FPC sockets unit directly. Synapse is a bit lower level than something like Indy internet components. I think from what you have said, you would prefer synapse or fpc sockets unit, since it is not visual, and probably more reliable than Indy. Regards Lars (L505) http://z505.com/fakeme.htm. I don't have a USB interface in the DOS version-just RS232.
I was hoping I could find others who could point the way on the USB issue. FMdC What is RS232?? Standard point-to-point serial link (the thing called 'COM Port' on PC). 'RS232' is the name of an EIA standard which specifies electrical characteristics and other interface details. FMdC Well, if you are already good at other hardware interfaces you may FMdC even learn how to create the USB one by googling. I found quite a bit FMdC of information about ISA Cards, including PCB schematics on google. USB is much more complex than ISA, especially on software side.
Lazarus Component Library
Fortunately, due to its popularity there is quite a lot of out-of-the-box solutions. Most of them are not for free though.


Vray for 3d max 2018. I don't have a USB interface in the DOS version-just RS232. I was hoping I could find others who could point the way on the USB issue. What is RS232?? Well, if you are already good at other hardware interfaces you may even learn how to create the USB one by googling. I found quite a bit of information about ISA Cards, including PCB schematics on google. Felipe Monteiro de Carvalho - Daniel '(.) one learns how to write code by reading code. One doesn't learn how to ride a bike by reading a book, either.'
(Theo de Raadt) 'Man is driven to create; I know I really love to create things. And while I'm not good at painting, drawing, or music, I can write software.' (Yukihiro Matsumoto, a.k.a.
How about file transfer across the internet from within the program? At least, there are plenty of units for this one;-). Synapse is cross platform, and the main FPC sockets unit is crossplatform. Synapse and any synapse wrappers out there, are a bit higher level than programming with the FPC sockets unit directly. Synapse is a bit lower level than something like Indy internet components. I think from what you have said, you would prefer synapse or fpc sockets unit, since it is not visual, and probably more reliable than Indy.
And Synapse have sister's project called SynaSer. Yes, it is for serial port communication. But be carefull, Synapse and Synaser is for Windows and Linux targets only. Lukas Gebauer. E-mail:.@mlp.cz WEB: - Synapse Delphi and Kylix TCP/IP Library.
LazSerial v0.2 Serial Port Component for Lazarus (windows and linux). By Jurassic Pork 03/2013 - 01/2017 This library is Free software; you can rediStribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is diStributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; withOut even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Library General Public License for more details. You should have received a Copy of the GNU Library General Public License along with This library; if not, Write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA, USA. Based on: - SdpoSerial v0.1.4 CopyRight (C) 2006-2010 Paulo Costa paco@fe.up.pt - Synaser library by Lukas Gebauer - TcomPort component Features: Changed: baudrate values.
Stop bits new value: 1.5 new event: onstatus new property FRcvLineCRLF: if this property is true, you use RecvString in place of RecvPacket when you read data from the port. New procedure ShowSetupDialog to open a port settings form: the device combobox contain the enumerated ports. New procedure to enumerate real serial port on linux ( in synaser). Demo: a simulator of serial port gps + serial port receiver: you can send NMEA frames ( GGA GLL RMC) to the opened serial port (start gps simulator). You can change speed and heading. In the memo you can see what is received from the opened serial port.
In the status bar you can see the status events. Tested with windows 7 and Ubuntu 12.04 if you haven't serial ports in your PC you can use virtual ports: 1 - WINDOWS To simulate a paired serial ports on windows: com0com ex: 2 - Linux To simulate a paired serial ports on linux: socat ex: socat -d -d PTY: PTY: To connect to a bluetooth GPS on Linux echo connection to a bluetooth GPS(/dev/rfcomm0) sudo rfcomm bind 0 xx:xx:xx:xx:xx:xx 1 V 0.2 01/2017: BaudRates for UNIX fixed - synaser files units renamed (with laz prefix) scan port for linux improved.