Opc data Access Automation Specification



Download 1,93 Mb.
Pdf ko'rish
bet78/107
Sana03.01.2022
Hajmi1,93 Mb.
#317185
1   ...   74   75   76   77   78   79   80   81   ...   107
Bog'liq
OPC DA Auto 2.02 Specification

4.4.6.2

 

AsyncReadComplete  

Description 

This event fires when an AsyncRead is completed.  

Syntax 


AsyncReadComplete (TransactionID As Long, NumItems As Long, ClientHandles() As Long, 

ItemValues() As Variant, Qualities() As Long, TimeStamps() As Date, Errors() As Long) 

 

Part Description 



TransactionID 

The client specified transaction ID.  

NumItems 

The number of items returned 

ClientHandles 

Array of client item handles for the items  

ItemValues 

Array of values. 

Qualities 

Array of Qualities for each item's value. 

TimeStamps 

Array of UTC TimeStamps for each item's value. If the device cannot 

provide a timestamp then the server will provide one. 

Errors 


Array of Long’s indicating the success of the individual item reads. 

This indicates whether the read succeeded in obtaining a defined 

value, quality and timestamp.  NOTE any FAILED error code 

indicates that the corresponding Value, Quality and Time stamp are 

60 

 



OPC Data Access Automation Specification2.02 

UNDEFINED. 

 

Example 


Dim WithEvents AnOPCGroup As OPCGroup 

Private Sub AnOPCGroup_AsyncReadComplete (TransactionID As Long, NumItems As Long, 

ClientHandles() As Long, ItemValues() As Variant, Qualities() As Long, TimeStamps() As Date) 

‘ write your client code here to process the data change values  

End Sub 


Download 1,93 Mb.

Do'stlaringiz bilan baham:
1   ...   74   75   76   77   78   79   80   81   ...   107




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