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.
|