_Builder.ValidateSegment (METH)ΒΆ
METHOD ValidateSegment : ERROR
This method validates the current segment of the builder
To get a free segment out of the builder, method 
GetCurrentSegment can be called beforehandCheck error return value for better diagnostics
- InOut:
- Scope - Name - Type - Comment - Return - ValidateSegment- Input - pbyData- POINTER TO BYTE - Pointer to the first byte of the segment - udiSize- UDINT- Size of the first segment - Output - udiCount- UDINT- The amount of validated bytes in builder