pascalSCADA OPM: commtypes: Record TIOPacket

Pascal SCADA OPM

Record TIOPacket

Hierarchy
Methods
Properties

Unit

commtypes

Declaration

type TIOPacket = record

Description

: Return the results of an I/O request.

See also
TCommPortDriver
The base class of an communication port driver.
TDriverCallBack
TCommPortDriver.IOCommandASync
TCommPortDriver.IOCommandSync

Overview

Fields

PacketID:Cardinal;
WriteIOResult:TIOResult;
ToWrite:Cardinal;
Written:Cardinal;
WriteRetries:Cardinal;
BufferToWrite:BYTES;
DelayBetweenCommand:LongInt;
ReadIOResult:TIOResult;
ToRead:Cardinal;
Received:Cardinal;
ReadRetries:Cardinal;
BufferToRead:BYTES;
Res1:TObject;
Res2:Pointer;

Description

Fields

PacketID:Cardinal;

Request identification.

WriteIOResult:TIOResult;

Result of a write command, if exists. If not exists, return iorNone.

ToWrite:Cardinal;

Number of bytes to write.

Written:Cardinal;

Number of bytes written.

WriteRetries:Cardinal;

Number of retries to write ToWrite bytes.

BufferToWrite:BYTES;

Sequence of bytes to write. Must have at least ToWrite bytes of length.

DelayBetweenCommand:LongInt;

Delay in milliseconds between the commands of Read and Write.

ReadIOResult:TIOResult;

Result of a read command, if exists. If not exists, return iorNone.

ToRead:Cardinal;

Number of bytes to read.

Received:Cardinal;

Number of bytes received.

ReadRetries:Cardinal;

Number of retries to read ToRead bytes.

BufferToRead:BYTES;

Buffer that stores bytes received. Their length is adjusted to ToRead.

Res1:TObject;
 
Res2:Pointer;
 

Generated by PasDoc 0.14.0.