|
PortController.NET
PortController.NET 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.NET sample project can be found in the Examples\VB\Hello World folder.
The Hello, World C# sample project can be found in the Examples\C#\Hello World folder.
The Hello, World C++ sample project can be found in the Examples\C++\Hello World folder.
File Transfer
The File Transfer project demonstrates how to send and receive files using the XMODEM,
XMODEM-CRC, XMODEM-1K, YMODEM, and ZMODEM protocols, as well as keeping track of a transfer's progress using the
OnFileTransferStatusUpdate and OnFileTransferComplete
events.
The File Transfer Visual Basic.NET sample project can be found in the Examples\VB\File Transfer folder.
The File Transfer C# sample project can be found in the Examples\C#\File Transfer folder.
The File Transfer C++ sample project can be found in the Examples\C++\File Transfer folder.
GPS
In the GPS project, Global Positioning System data delimited by a newline character is read and parsed using PortController's EventChar property and EventCharReceived event. This technique can be easily adapted to read any data that is delimited by a special character.
The GPS Visual Basic.NET sample project can be found in the Examples\VB\GPS folder.
The GPS C# sample project can be found in the Examples\C#\GPS folder.
The GPS C++ sample project can be found in the Examples\C++\GPS 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.NET sample project can be found in the Examples\VB\SimpleTerm folder.
The SimpleTerm C# sample project can be found in the Examples\C#\SimpleTerm folder.
The SimpleTerm C++ sample project can be found in the Examples\C++\SimpleTerm folder.
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.NET sample project can be found in the Examples\VB\Test Panel folder.
The PortController Test Panel C# sample project can be found in the Examples\C#\Test Panel folder.
The PortController Test Panel C++ sample project can be found in the Examples\C++\Test Panel folder.
|