About PortController
Introduction
Purchasing PortController
Redistributing PortController
License Agreement
Support
Getting Started
How to Use PortController
Using PortController with Visual Basic
Using PortController with Visual C++
Using PortController with Delphi
How to Use Events
Handling Events in Visual Basic
Handling Events in Visual C++
Handling Events in Delphi
PortController Sample Projects
Reading and Writing Binary Data
Handling PortController Errors
Reference
Properties
BaudRate Property
Break Property
BytesUsedRQ Property
BytesUsedTQ Property
Cd Property
Cts Property
DataBits Property
Dsr Property
Dtr Property
DtrDsr Property
EnableReadOnEventChar Property
EventChar Property
Parity Property
PortHandle Property
PortName Property
Ring Property
Rts Property
RtsCts Property
StopBits Property
XonXoff Property
Methods
ClearRQ Method
ClearTQ Method
Close Method
GetErrorStatus Method
Open Method
Read Method
ReadBinary Method
Write Method
WriteBinary Method
SendXoff Method
SendXon Method
Events
BreakSignal Event
CdToggle Event
CtsToggle Event
DataReceived Event
DsrToggle Event
Error Event
EvtCharReceived Event
Ring Event
TQEmpty Event

PortController Sample Projects

Hello, World!

The Hello, World project demonstrates how to open the serial port and write data. This example writes the string "Hello, World!" to the COM1 port. If you wish to run this application using a different COM port or settings you may simply edit the appropriate line in the code.

The Hello, World Visual Basic sample project can be found in the Examples\VB\Hello World folder.
The Hello, World Visual C++ sample project can be found in the Examples\VC\Hello World folder.
The Hello, World Delphi sample project can be found in the Examples\Delphi\Hello World folder.

SimpleTerm

The SimpleTerm project is a serial port communications terminal that provides basic read and write functionality. This project demonstrates how to use the DataReceived event to respond to incoming data.

The SimpleTerm Visual Basic sample project can be found in the Examples\VB\SimpleTerm folder.
The SimpleTerm Visual C++ sample project can be found in the Examples\VC\SimpleTerm folder.
The SimpleTerm Delphi sample project can be found in the Examples\Delphi\SimpleTerm folder.

SimpleGPS

In the SimpleGPS project, Global Positioning System data delimited by a newline character is read and parsed using the PortController's EventChar property and EvtCharReceived event. This technique can be easily adapted to read any data that is delimited by a special character.

The SimpleGPS Visual Basic sample project can be found in the Examples\VB\GPS folder.
The SimpleGPS Visual C++ sample project can be found in the Examples\VC\GPS folder.
The SimpleGPS Delphi sample project can be found in the Examples\Delphi\GPS folder.

PortController Test Panel

The PortController Test Panel project demonstrates much of the functionality available with the Scientific Component PortController. You can use this project to test communications between devices, or add to it to perform custom diagnostic tasks. You may also jump start your own project by using the code provided with the Test Panel.

The PortController Test Panel Visual Basic sample project can be found in the Examples\VB\Test Panel folder.
The PortController Test Panel Visual C++ sample project can be found in the Examples\VC\Test Panel folder.
The PortController Test Panel Delphi sample project can be found in the Examples\Delphi\Test Panel folder.