Tms software tms async developers guide 1 tms async



Download 390,68 Kb.
Pdf ko'rish
bet24/27
Sana14.12.2022
Hajmi390,68 Kb.
#885413
1   ...   19   20   21   22   23   24   25   26   27
Bog'liq
TMS Async

TMS SOFTWARE
TMS Async 
DEVELOPERS GUIDE 
28 
TVaWaitMessage 
TVaWaitMessage is derived from TVaCommComponent and must be hooked up with a TVaComm 
component in order to operate. The TVaWaitMessage component is used to receive simple ASCII text 
messages. As soon as a predefined message is received the OnMessage event is triggered. 
TVaWaitMessage also handles control characters embedded in the Strings property. eg ^M = #13 
Properties 
 
Active 
When true, TVaBuffer listens to the data received or to be sent via 
TVaComm and retrieves it. 
CaseSensitive 
CaseSensitive determines if a string must match it's uppercase and lowercase 
characters. If CaseSensitive is False, TVaWaitmessage compares the strings 
passed to it case-insensitively. 
Comm 
Sets the TVaComm instances the buffer uses to receive or send data 
Strings 
Strings is a list of ASCII messages to wait for. 
Events 
 
OnMessage 
The OnMessage event is called as soon as an ascii message defined in the 
strings property is received. Index will indicate which message it concerns. 
Methods 
 
ResetStrings 
ResetStrings will clear all received data and puts the component in its initial 
state. 


TMS SOFTWARE
TMS Async 
DEVELOPERS GUIDE 
29 


TMS SOFTWARE
TMS Async 
DEVELOPERS GUIDE 
30 
TVaServer & TVaServerClient 
A TVaServer is used in combination with a TVaServerClient component. TVaServerClient is derived 
from TVaCustomComm and therefore contains all properties, methods and events used by the 
regular TVaComm component. Both TVaServer & TVaServerClient components are used to build a 
comm server application which can support as many COM ports as required.
First define the server client and intialize all other properties. Finally you can hook it up with a 
server component. This can be done in design-time as well during run-time. To hook up a client to a 
server, set VaServerClient.Server := VaServer; 
Due to the many different types of hardware there is no hardware specific functionallity inside the 
server component except for the BroadCast method. This means that each client must be configured 
and opened manually. 

Download 390,68 Kb.

Do'stlaringiz bilan baham:
1   ...   19   20   21   22   23   24   25   26   27




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish