Serial Port Component For Lazarus Log

  1. Serial Port Component For Lazarus Logic
  2. Lazarus Log Cabin Kits
  3. Lazarus Log Home
  4. Lazarus Log Home Plans
  5. Serial Port Component For Lazarus Logo

Note that it needs to be compiled by Lazarus as it needs the LCL components to work with Synapse: program sshtest; Test program for telnetsshclient Written by Reinier Olislagers 2011. Modified for libssh2 by Alexey Suhinin 2012. Network; Serial port. Interface to VideoLAN libvlc.dll and VCL player component for Delphi / FreePascal based on. Designed for fast 32-bit graphics handling on Delphi, Kylix and Lazarus. Library for blocking communication on serial ports. Interbase Delphi in title.

Serial Port Component For Lazarus. Projects using Lazarus/de. 5dpo Component Library is a set of components developed by the 5dpo Robotic Soccer Team. So I looked at an old test application I did back in 2011 and found yet another serial port component 'SdpoSerial'. The test application executes part of what my ported application needs to do, so I brought it up and refreshed the code to current level of Lazarus and Fpc. And it works just fine as a limited test app. 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.

ActiveXperts Serial Port Component is a software development kit (SDK) that enables the user to communicate to a device over a serial interface.

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.

Serial

(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':

(Click on the picture to enlarge)

In the 'Components' page, leave all fields default and click 'Next':

Serial Port Component For Lazarus Logic

(Click on the picture to enlarge)

In the 'Install' page, select 'Create Unit' and click 'Next':

Lazarus Log Cabin Kits

(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:

Lazarus Log Home

You can now create the objects, for instance in the 'FormCreate' function:

Step 5: Send an AT command to a connected Hayes compatible modem

Lazarus Log Home Plans

You can now send and/or receive data to and/or from a serial port.

The following code shows how to query a modem:

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.