All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVC - Serial port test app: COMTerm
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

akidder

1519 Posts

Posted - 13 Mar 2002 :  19:54:16  Show Profile  Email Poster
COMTerm.exe


COMTerm is a menu-driven serial port test application (similar to HyperTerminal for the PC) for sending and receiving data over the serial ports at various speeds and with different flow control. Useful for testing a serial port quickly. Visual C++ source code included. This application was formerly called COMTEST.EXE.

For related information, please see the Serial Communications topic index.

Source Download
Rev 8, Dec-2006 (ZIP 70 kB)

Key APIs Used

WriteFile
ReadFile
SetCommState
SetCommTimeouts
SetCommMask
WaitCommEvent

Lines of Code: 1137 (rev 3)




- Modified 14mar11 (ak) : Rev 8 (70 kB)
- Modified 6Sep05 (hc) : Rev 7 (58 kB)
- Modified 16Apr03 (cbt) : Rev 6
- Modified 17Mar03 (cbt) : Rev 5
- Modified 22Nov02 (cbt) : Rev 4
- Modified 2Aug02 (cbt) : Rev 3

ctacke

877 Posts

Posted - 02 Aug 2002 :  17:43:01  Show Profile  Email Poster
Feature update, Rev 3

We've modified COMTEST as follows:


  • Determines at startup which COM ports are available and disables the menu items for those that are not.

  • Allows user to set RTS and DTR high or low

  • Added ability to stream 5 or 500 60-character lines



-----------------
Chris Tacke, eMVP
Applied Data Support
Go to Top of Page

ctacke

877 Posts

Posted - 22 Nov 2002 :  13:31:10  Show Profile  Email Poster
Feature Update, Rev 4

We've modified COMTEST as follows:


  • Allows input data stream to be echoed back out on another port.
Go to Top of Page

ctacke

877 Posts

Posted - 17 Mar 2003 :  13:17:51  Show Profile  Email Poster
Feature Update, Rev 5

We've modified COMTEST as follows:
  • Fixed 1200/2400 baud support.
  • Added parity/flow control/stop bits
  • Rearchitected port opening
  • Modified set and clear DTR/CTS
  • Rewrote SendTextDigits to buffer entire output before sending
  • Added status bar and SendTextDigits timing code

Go to Top of Page

Susan

123 Posts

Posted - 16 Apr 2003 :  07:35:27  Show Profile  Email Poster
Has COMTEST been tried on a CE.NET device?

I have used this on my Bitsy running 3.0. This morning I compiled another version of COMTEST under 4.0 and loaded it onto my BitsyPlus. The debug port does state that the COM1 serial port was opened, but the screen provides me with no drop-down menus.

Go to Top of Page

ctacke

877 Posts

Posted - 16 Apr 2003 :  09:46:24  Show Profile  Email Poster
Feature Update, Rev 6

We've modified COMTEST to be much more friendly and usable, adding the following:

  • Single pane UI for incoming and outgoing data.
  • Ability to capture data to a file.
  • Ability to send data byte-wise or in blocks.
  • Better menuing
  • Status Feedback


The new version of COMTest has projects and compiled binaries for eVC 3.0 and eVC 4.0. The binary compiled for CE 3.0 (COMTerm30.exe) is retargetable to CE 4.1. The binary compiled for CE 4.1 (COMTerm.exe) is not retargetable to CE 3.0.
Go to Top of Page

hchin

30 Posts

Posted - 06 Sep 2005 :  17:31:02  Show Profile  Email Poster
Feature Update, Rev 7

We've modified ComTest as follows:

  • Added option to allow active port to be used as relay port
  • Go to Top of Page

    akidder

    1519 Posts

    Posted - 14 Mar 2011 :  18:15:43  Show Profile  Email Poster
    Feature Update, Rev 8

    Rev 8 of the application adds the option to select 5, 6, 7, or 8 data bits.
    Go to Top of Page
      Topic  
     Forum Locked  Topic Locked
     Send Topic to a Friend
     Printer Friendly
    Jump To:
    Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
    This page was generated in 0.05 seconds. Snitz Forums 2000