Class TBarScanThread (unit BarScanT)

Inherits from

TThread

Constructors


constructor Create(ComNum: Integer; ShowDataProc: TShowDataProc);

sets all the flow control flags automatically


Functions

destructor Destroy;

creates thread non-suspended

procedure ReleaseAndTerminate;

clear digested buffer

procedure Execute;


procedure CloseConnection;

user settings

procedure OpenConnection;

digest to string property

procedure ReadData;

port handle is now invalid

procedure SetupConnection;


Properties

property DataLength : Integer


property DataStr : string


Events

Variables

FComStat : TComStat;


FConnected : Boolean;


FData : array[0..MAX_BUF_LENGTH] of Char;


FDataLength : DWord;


FDataStr : string;


FDCB : TDCB;


FHComm : THandle;


FShowDataProc : TShowDataProc;


FStatus : Boolean;



Constructors


constructor Create(ComNum: Integer; ShowDataProc: TShowDataProc);

sets all the flow control flags automatically


Functions


destructor Destroy;

creates thread non-suspended


procedure ReleaseAndTerminate;

clear digested buffer


procedure Execute;


procedure CloseConnection;

user settings


procedure OpenConnection;

digest to string property


procedure ReadData;

port handle is now invalid


procedure SetupConnection;


Properties


property DataLength : Integer


property DataStr : string


Events


Variables


FComStat : TComStat;


FConnected : Boolean;


FData : array[0..MAX_BUF_LENGTH] of Char;


FDataLength : DWord;


FDataStr : string;


FDCB : TDCB;


FHComm : THandle;


FShowDataProc : TShowDataProc;


FStatus : Boolean;