Opc data Access Automation Specification



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

4.4.5.6

 

AsyncCancel 

Description 

Request that the server cancel an outstanding transaction. An AsyncCancelComplete event will 

occur indicating whether or not the cancel succeeded. 

Syntax AsyncCancel(CancelID 

As 


Long) 

Part Description 

CancelID 

The Server generated CancelID that was previously returned by the 

AsyncRead, AsyncWrite or AsyncRefresh method that the client now 

wants to cancel.  

See Also 

IOPCAsyncIO2::Cancel from the OPC Data Access Custom Interface Specification 

Remarks 

The AsyncCancel requires the OPCGroup object to have been dimensioned with events (Dim 

WithEvents xxx As OPCGroup) in order for the results of the AsyncCancel operation to be returned 

to the automation client application.  The AsyncCancelComplete event associated with the 

OPCGroup object will be fired (called) by the automation server with the results of the AsyncCancel 

operation. The client specified transaction ID (TransactionID) will be returned to the automation 

client application in the AsyncCancelComplete event. 

Example Private 

Sub 

AsyncCancelButton_Click() 



Dim ServerIndex As Long  

Dim CancelID As Long 

CancelID = 1 ‘ some transaction id returned from one of the async calls like read, write, or refresh. 

OneGroup.AsyncCancel CancelID 

End Sub 

 


Download 1,93 Mb.

Do'stlaringiz bilan baham:
1   ...   72   73   74   75   76   77   78   79   ...   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