Click here to Skip to main content
13,504,968 members
Click here to Skip to main content
Add your own
alternative version


41 bookmarked
Posted 6 Jun 2007

Terminal 3

, 6 Jun 2007
Rate this:
Please Sign up or sign in to vote.
A Multi-port Plug-in Based Serial Port Terminal Program
Screen shot of the application


This article demonstrates a multi-serial port terminal with a plug-in architecture to allow different views.


This started off as an internal project by myself for our company Pi Logic. I thought that it might be useful to others who do serial port development.

Using the Code

The source zip file contains one Visual Studio 2005 solution with three projects.


This is the actual program, it is very simplistic because most of the important stuff happens in the support libraries.


This implements the core functionality of the terminal program. This was separated out into a DLL so that the plugins can reference this one without having the program's code cluttering up things.


This is a simple implementation of a plug-in viewer, it derives from PortWindow which has some basic controls to support adding ports, etc. and parses data (with no error handling) to plot a graph of the values.

To see this in action, send it two double values in the range 0-10 separated by a comma and it will plot the value as it receives it.

Points of Interest

One driver which I have found invaluable in this project and in others is com0com which is a null-modem emulator. Basically it creates two virtual COM ports and maps the input and output of each one to the output and input of the other respectively, resulting in a software COM port for testing stuff.

Docking has been accomplished through Weifen Luo's Dock Panel Suite.

The GraphWindow demo was accomplished using ZedGraph.

The file associations are managed by Bredan Grant's System File Association classes, with the namespace changed for ease of use.


Sorry the article is so short. Hopefully when I get some time, I shall update it to include more code snippets and more detailed explanations of how things operate.

Please let me know of any bugs as this was written overnight from an existing code-base (Terminal 2 by coincidence) so I haven't fully tested it.


  • 7th June, 2007 - v1 - Uploaded the initial project
  • 7th June, 2007 - v2 - Updated project to include "Restore File Associations..." menu item


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Engineer PooreDesign
United Kingdom United Kingdom
Ed is a student who due to a form of cancer (now clear) took a year out before going to Imperial College, London to study Electronic Engineering.

His interests include shooting (clay-pigeon (shotgun), air-rifle and rifle), playing with his three labradors (Sandy, Rosie and Tundra), programming (most experienced in C# and C, although those are not the only ones), walking (has completed Gold Duke of Edinburgh's Award), playing games and reading.

He lives in two places on a 57 acre farm in West Waleswith the rest of the family during the holidays; and Greater London during term time.

Languages and Technologies: C#, C, VB6, VB.NET, XAML, (X)HTML, CSS, XSLT, Assembler (PIC), ASP.NET, WPF, Windows.Forms, ASP, VBScript, JavaScript, Pascal / Delphi, XML

Current Stuff:
1st Year MEng Electronics Engineering (Imperial College, London)

You may also be interested in...

Comments and Discussions

QuestionAre there any updates to this? Pin
mjkuwp9430-Jan-11 16:25
membermjkuwp9430-Jan-11 16:25 
AnswerRe: Are there any updates to this? Pin
Ed.Poore31-Jan-11 23:47
memberEd.Poore31-Jan-11 23:47 
GeneralRe: Are there any updates to this? Pin
mjkuwp941-Feb-11 0:36
membermjkuwp941-Feb-11 0:36 
GeneralRe: Are there any updates to this? Pin
Ed.Poore2-Feb-11 23:45
memberEd.Poore2-Feb-11 23:45 
GeneralMy vote of 5 Pin
mjkuwp9430-Jan-11 14:19
membermjkuwp9430-Jan-11 14:19 
GeneralZip file Error. Pin
Jason Park4-Sep-08 21:32
memberJason Park4-Sep-08 21:32 
GeneralRe: Zip file Error. Pin
Ed.Poore4-Sep-08 22:27
memberEd.Poore4-Sep-08 22:27 
GeneralWont compile as missing bitmap files Pin
nbr7-Jun-07 15:26
membernbr7-Jun-07 15:26 
GeneralRe: Wont compile as missing bitmap files Pin
Ed.Poore7-Jun-07 20:17
memberEd.Poore7-Jun-07 20:17 
GeneralRe: Wont compile as missing bitmap files Pin
Ed.Poore7-Jun-07 20:27
memberEd.Poore7-Jun-07 20:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.180417.1 | Last Updated 7 Jun 2007
Article Copyright 2007 by Ed.Poore
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid