- Feb 18, 2019 Re: TLazSerial: serial port component for Lazarus (windows and linux). « Reply #283 on: December 21, 2018, 07:27:36 am » Quote from: Jurassic Pork on December 17, 2018, 05:54:37 pm.
- Apr 30, 2013 OpenSource component library for serial communication TComport Lazarus This project is the conversion of the Comport Package of dejancrn and dybdahl, for lazarus pascal project.
- Apr 30, 2013 OpenSource component library for serial communication TComport Lazarus This project is the conversion of the Comport Package of dejancrn and dybdahl, for lazarus pascal project.
- Delphi and C Builder component for serial communication. Communication with any device connected to serial port; easy of use and very powerful; uses.
Serial Port Component For Lazarus Comedy
ActiveXperts » Serial Port Component » How to Use Serial Port Component » Delphi
ActiveXperts Serial Port Component is a software development kit (SDK) that enables the user to communicate to a device over a serial interface.
May 31, 2017 ActiveXperts Serial Port Component is a software development kit (SDK). Enumerate COM ports in Windows with Lazarus. Any Free/Cheap Async Serial Port Component) What functions? I added the missed file, and you can use the bug tracker. 10.2 and Lazarus 1.6.4. A simple but fully functional serial port component.
Such a device can be: a weight indicator, a modem, a scanner, or any other device that is equiped with a serial port. It can even be another PC, connected via a NULL modem cable.
ActiveXperts Serial Port Component features the following:
- Direct COM port support (like 'COM1')
- TAPI (Windows Telephony Device) support (like 'Standard 56000 bps Modem');
- Support for RS-232/RS422/RS485, up to 256 simultaneous ports;
- Support for all types of Hayes compatible modems;
- Support for serial cable as well as USB cable or Bluetooth connections;
- Support for Virtual COM ports (i.e. COM ports redirected through the network);
- Hardware flow control (RTS/CTS, DTR/DSR) and software flowcontrol (XON/XOFF) support;
- Configurable baudrate/parity/stopbits, full buffered data transfer, text/binary data transfer.
Step 1: Download and install the ActiveXperts Serial Port Component
Download the ActiveXperts Serial Port Component from the ActiveXperts Download Site and start the installation. The installation guides you through the installation process.
Step 2: Create a new Delphi Project
Launch Delphi from the Start menu. Choose 'New' from the 'File' menu and select your preferred kind of application, for instance: 'VCL Forms Application - Delphi for Win32'. A new Form is displayed in the workspace.
(Click on the picture to enlarge)
Step 3: Refer to the ActiveXperts Serial Port Component Library and create the objects
Now that a new project has been created, you must add a reference to Serial Port Component in the project to be able to use the ActiveXperts Serial Port Component object. To do so, choose 'Import Component..' from the 'Component' menu. The Import Components' dialog appears. Select 'Import a Type Library':
(Click on the picture to enlarge)
In the 'Registered Type Libraries' page, select 'Serial Port Component 2.2 Type Library' and click 'Next':
Eshop card generator no verification. (Click on the picture to enlarge)
In the 'Components' page, leave all fields default and click 'Next':
(Click on the picture to enlarge)
In the 'Install' page, select 'Create Unit' and click 'Next':
(Click on the picture to enlarge)
The interface code is generated now and is shown in the AXSERIAL_TLB tab of the project.
Step 4: Declare and create the object
From the Project Manager, open Unit1.bas and add the AXSERIAL_TLB to the 'Uses' statement to refer to the ActiveXperts Serial Port Component library:
(Click on the picture to enlarge)
In the 'private' or 'public' section, declare the following objects:
You can now create the objects, for instance in the 'FormCreate' function:
Serial Port Component For Lazarus Comes
Step 5: Send an AT command to a connected Hayes compatible modem
You can now send and/or receive data to and/or from a serial port.
The following code shows how to query a modem:
![Serial Serial](/uploads/1/2/4/3/124378517/913555517.jpg)
There are many working samples included with the product. You can also find them on the ActiveXperts FTP site: ftp.activexperts-lab.com/samples/serial-port-component.