Author Topic: CRLF at end of Packet  (Read 961 times)

ijbranch

  • Newbie
  • *
  • Posts: 8
    • View Profile
CRLF at end of Packet
« on: September 09, 2013, 10:47:21 am »
HI Guys,
I am processing packets that end in CRLF.

i.e. AB,24.5dbCRLF

For Packet end, do I include the CRLF?  If so how? 

db#13#10?

Regards,

Ian



Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: CRLF at end of Packet
« Reply #1 on: January 16, 2014, 07:09:05 am »
Hello

It is difficult to do at design time in object inspector.
You can make this at runtime:

nrDataProcessor1.DataPackets[0].PacketEnd := 'db'#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.