Serial Port Component
Add serial communication functionality to your Windows application.
Adding serial communications requires specialized knowledge that might be outside an individual programmer’s expertise. For years, developers have relied upon the power and reliability of the ActiveXperts Serial Port Component serial communications control.
Easy to use API
Control devices over a serial port
32-bit ActiveX and 64-bit ActiveX included
How to use the Component
Visual Studio .NET project
Use ActiveXperts Serial Port Component for different purposes:
To control manufacturing machines via the serial port;
To configure network devices (like print-servers, routers) via the serial port;
To control a modem, connected to the serial/USB port or Bluetooth;
To transfer files through a null modem cable;
Any other scenario where serial communications is involved.
ActiveXperts Serial Port Component features the following:
- Direct COM ports supported (e.g.: ‘COM2’);
- Windows Telephony Devices supported (e.g.: ‘Standard 9600 bps Modem’);
- Support for RS-232, RS422 and RS485;
- Up to 256 ports opened simultaneously;
- Thread-safe to allow the component in multi-threading environments (samples included);
- Support for Hayes compatible modems, connected via a serial port, USB or Bluetooth;
- Support for Virtual COM ports (i.e. COM ports redirected through the network);
- Hardware flow control (RTS/CTS, DTR/DSR);
- Software flow control (XON/XOFF);
- Support for any baudrate, parity, stopbits;
- Full buffered data transfer;
- Text and Binary data transfer;
- Advanced logging.
ActiveXperts Serial Port Component includes samples for many development tools, including:
Visual Basic .NET – Visual C# .NET – ASP .NET VB – ASP .NET CSharp – Visual C++ – Visual Basic 6 – ASP 2.x – PHP – HTML – VBScript – PowerShell – Delphi
This code snippet illustrates how to use ActiveXperts Network Component. It sends out an SMS messaging using a GSM modem with SIM card inserted.
Set objComport = CreateObject("AxSerial.Comport") ' Create a new Comport instance objComport.Device = "COM1" ' Use a COM port directly objComport.BaudRate = 56000 ' Set baudrate (default value: 9600) objComport.HardwareFlowControl = True ' Set Hardware Flow Control objComport.SoftwareFlowControl = False ' Set Software Flow Control objComport.Open ' Open the port Wscript.Echo "Open, result: " & objComport.LastError If( objComport.LastError <> 0 ) Then WScript.Quit End If objComport.WriteString( "at&f" ) ' Write command str = objComport.ReadString WScript.Echo "Received: [" & str & "]" ' Read the response objComport.Close ' Close the port
Supported Operating Systems
ActiveXperts Serial Port Component is offered as a 32-bit (AxSerial32.dll) and 64-bit (AxSerial64.dll) ActiveX component, and runs on the following Operating Systems:
Server platforms: Windows 2019, Windows 2016, Windows 2012 R2, Windows 2012, Windows 2008 R2, Windows 2008, Windows 2003
Desktop platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP
LOGON is a pan-asian company operating in China, Hong Kong (HK), India, Singapore, Malaysia, Indonesia, Vietnam, Philippines and Thailand. LOGON has local dedicated trained product specialists in Hong Kong, Guangzhou, Kuala Lumpur, Mumbai and Bangalore. LOGON acts both as value added reseller and sole distributor for award winning software solutions. Customers can buy new licenses, purchase upgrades and renewals from any of our local offices. Contact us for first line support during evaluations, PoCs. We offer best practices consulting services and classroom & online training. Check our site for latest offers, special discounts, bundle deals, etc..