Serial Port Component For Lazarus Log

  1. Serial Port Component For Lazarus Logo
  2. Lazarus Program
  3. Serial Port Component For Lazarus Login
  4. Lazarus Component Library

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

(long time ago delphi user) The lazarus serial package (LSP) seem to insert a return as the Arduino does not send it. Possible causes: communication is slow and if the LSP doesnt receive any char it might do an. To open a serial port, first access a SerialPort object. For this, you can either prompt the user to select a single serial port by calling navigator.serial.requestPort, or pick one from navigator.serial.getPorts which returns a list of serial ports the website has been granted access to previously. // Prompt user to select any serial port.

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

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

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:

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.

Deutsch (de)English (en)español (es)suomi (fi)français (fr)magyar (hu)Bahasa Indonesia (id)italiano (it)日本語 (ja)한국어 (ko)português (pt)русский (ru)slovenčina (sk)中文(中国大陆)‎ (zh_CN)中文(台灣)‎ (zh_TW)

  • 1Lazarus-CCR Released Components

Lazarus-CCR Released Components

멀티미디어

  • ACS - Audio Component Suite port from ACS
  • Bluetooth - Accessing Bluetooth devices. For example the Wiimote.

그래픽

  • GLScene - A port of the visual OpenGL graphics Library GLScene
  • TOpenGLBox - A barebones OpenGL component for Lazarus that provides an OpenGL rendering area.
  • SMNetGradient - A Gradient Fill component for Lazarus.
  • TAChart - Charting component for Lazarus
  • PlotPanel - A plotting and charting component for animated graphs
  • LazRGBGraphics - A package for fast in memory image processing and pixel manipulations (like scan line).
  • TMetafile/TMetafileCanvas - EnhMetafile API implementation for Windows.

Tools

  • FpSystools - Conversion of TurboPower's Systools for Kylix package to Lazarus/FPC
  • DCPcrypt - DCPcrypt Cryptographic Component Library
  • RXfpc - Some of the well known RXlib components components converted to Lazarus
  • MultiLog - A Log system designed for FPC-Lazarus
  • OnGuard - A port of Turbo Power OnGuard
  • UniqueInstance - A component to force only one instance running at same time
  • XDev Toolkit - Cross-platform development tools.
  • MouseAndKeyInput - Tool for cross-platform manipulation with mouse and key input.
  • PascalSane - bindings for the libsane scanner API, with demo application.

압축

  • Zlibar - Objects to create and extract a zlib compressed archive containing multiple files
  • FreePascalArchivePackage - Conversion of TurboPower Software's Abbrevia library for the Free Pascal Compiler
  • ZipFile - Component that encapsulates a zipfile, you can read and write from it as if it's a filesystem
  • libtar - Classes for .TAR archives by Stefan Heymann, who kindly relicensed so that they are now in the FPC 2.1.1 and later distributions. Can be combined by zstream to create .tar.gz files.

에디터와 뷰어

  • PowerPDF - Port of the PowerPDF (visual) components for Lazarus
  • RichView - Port of the TRichView Freeware Edition Components to Lazarus
  • Fshcomp - Edit components.
  • SynEdit - Source Editor component (used by the IDE)

네트워킹

  • Hprose - Hprose is a High Performance Remote Object Service Engine. It is a fast serialize and RPC library for Delphi and FreePascal.
  • Sockets - TCP/IP Sockets components
  • lNet - Networking components for TCP and UDP connections
  • FPC and Apache Modules - Headers for creating Apache modules with fpc
  • Web Services Toolkit - Web Services authoring and consumption

데이터베이스

  • fb embedded2 Laz - Using embedded FireBird 3 with Lazarus
  • TPSQL - Components for connecting to PostgreSQL database servers
  • tiOPF - TechInsite Object Persistent Framework (Ver. 2)
  • TParadoxDataSet - An TDataSet implementation that can read Paradox files up to Version 7 (and up ??)
  • ZeosDBO - Component for connecting to multiple database (Firebird, PostgreSQL, MySQL, Oracle)

시스템

  • EpikTimer - Precision timer component written specifically for Lazarus.
  • TrayIcon - A multiplatform System Tray component
  • TPopupNotifier - How to use TPopupNotifier to show 'balloon help'.
  • MultiDoc - A component to write pseudo-MDI application with Lazarus.
  • MDButtonsBar - ButtonsBar to MultiDoc Component.
  • MPICH - Bindings for the MPI - Message Passing Interface. Distributed computing.
  • Bluetooth - Accessing Bluetooth devices.
Component

비주얼 컴포넌트

  • VirtualTreeview - A port of the fast virtual treeview from SoftGems
  • Turbopower Visual PlanIt - A port of the Planner Components
  • RingChart and AnalogWatch - Another Elliptical Chart and an Analogic Watch for Lazarus and FPC
  • ColorBox - Color picker with preview
  • Spook's Panel Components - A collection of panel components
  • HistoryFiles - A component for store the recent files list into an .ini file and show the result into a menu.
  • ColorPalette - A color palette grid with ability to use custom palette.
  • OrphPort - Subset of TurboPower's Orpheus controls.
  • TSubForm - A

그 외 FPC/Lazarus 용 패키지들 (외부 링크)

  • 2007, Brain Patchwork DX, LLC. has ported their TCP/UDP Client and Server Components to Lazarus 0.9.22/FPC 2.0.4 - visual and non-visual implementation are supported (www.bpdx.com)
  • Starting with version 32, Lucas Gebauer's outstanding Synapse TCP/IP library is now compatible with Free Pascal and Lazarus. Lucas has also just released version 12 of his Synaser serial port communications suite that also runs under Free Pascal.
  • Indy
    • Original (now dormant) effort: Indy for Lazarus project 119 components Indy for FPC/Lazarus.
    • Newer attempt Indy with Lazarus (Both Indy9 and Indy10)
  • Castle Game Engine, a 3D game engine especially focused on VRML/X3D formats.
  • CUPS for Lazarus project Common UNIX Printing System for FPC/Lazarus.
  • FIBL FreeIBComponents package porting for Lazarus.
  • RackCtls a collection of components with an 'Hi-fi system' appearance.

예제 프로그램

Lazarus Program

  • SysRec - Video Capturing and Recording application, you can download it here.
  • Sudoku - A Sudoku solver.
  • Libview - Views all exported function names of a given library.
  • Contacts Database - An expanded version of the address book example with reports.
  • OpenGL Tutorial - Example code for the OpenGL tutorial
  • Robot - The Game - Very easy written sample for beginners
  • Kaldemonia - Google Searcher shows simple threading, using Synapse networking library.
  • LRS_Explorer [1] - A little sofware to add some pictures, music, etc.. into ressource files 'lrs'

기타등등

Original contributors and changes

Serial Port Component For Lazarus Login

This page has been imported from the epikwiki version.

Lazarus Component Library

  • Page created, initial content - T. Lisjac 9/22/2003 User:VlxAdmin
  • Moved Synapse package info to here from the Main Page - User:VlxAdmin 10/1/2003
Retrieved from 'https://wiki.freepascal.org/index.php?title=Components_and_Code_examples/ko&oldid=92000'