Author Topic: how send/receive with nrcomm  (Read 1488 times)

omidan321

  • Newbie
  • *
  • Posts: 2
    • View Profile
how send/receive with nrcomm
« on: November 26, 2013, 12:56:31 pm »
hi,
i want send/receive data with com port  . but cant do this job with nrcomm .
so , i waiting for your respond on this topic .

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: how send/receive with nrcomm
« Reply #1 on: November 27, 2013, 04:49:46 am »
Hello

You can find several sample projects after installation nrComm Lib.

Demos\Codes\codes_demo.dpr - It receives data and shows HEX|DEC codes of incoming bytes.
Demos\SimplePacket\SimplePacket.dpr - It detects strings in incoming stream.
Demos\DataProc\dataproc.dpr - I detects various data packets with different packet begin, end and length.

Sending data is easy:
  nrComm1.SendString('Test'#13#10);

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