TApxDataPacket.EndCond

TApxDataPacket

property EndCond : TPacketEndSet
TPacketEndSet = set of TPacketEndCond;
TPacketEndCond = (ecString, ecPacketSize);

Default: []

Determines when a complete packet has been received.

The valid values for EndCond are:

Value
Result
[]
The string specified by StartString is considered to be the entire packet (this is equivalent to a traditional data trigger).
[EcString]
The packet ends when the string specified by EndString is received.
[EcPacketSize]
The packet ends when the number of characters specified by PacketSize is received.

[EcString and ecPacketSize]

The packet ends when either the string specified by EndString is received or the number of characters specified by PacketSize is received.

See also: EndString, PacketSize, StartString