Author Topic: Usb read/recieve sample program  (Read 2642 times)


  • Newbie
  • *
  • Posts: 4
    • View Profile
Usb read/recieve sample program
« on: October 31, 2008, 04:31:41 pm »

I am evaluating the usb and the serial port component but can not work out what to do as the documentation does not help.

I am trying to find out if it's possible to listen to a com port and/or usb device that is sending bytes of data and then read the data to a buffer.

If any one has done this please send me a sample.


Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1016
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Usb read/recieve sample program
« Reply #1 on: November 01, 2008, 07:50:28 pm »

Please download and install latest trial version of nrComm Lib.
It contains needed demo projects.
  • Demos\Codes\
It monitors incoming serial port data stream and shows DEC/HEX codes of input chars/bytes.
  • Demos\DTerminal
It is simple terminal application with ZModem file transfer support.
  • Demos\SimplePacke2
It shows simple way to detect string in incoming data.
  • Demos\USBPipeDemo
This Demo can be used for WinUSB pipe I/O operations.
... and others.

Good luck!

Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.