Opc data Access Automation Specification



Download 1,93 Mb.
Pdf ko'rish
bet39/107
Sana03.01.2022
Hajmi1,93 Mb.
#317185
1   ...   35   36   37   38   39   40   41   42   ...   107
Bog'liq
OPC DA Auto 2.02 Specification

4.1.6

 

OPCServer Events 

4.1.6.1

 

ServerShutDown  

Description 

The ServerShutDown event is fired when the server is planning on shutting down and wants to tell 

all the active clients to release any resources. The client provides this method so that the server can 

request that the client disconnect from the server. The client should remove all groups and items.  

Syntax 


ServerShutDown (Reason As String) 

 

Part Description 



ServerReason 

An optional text string provided by the server indicating the reason 

for the shutdown.  

 

Example 



Dim WithEvents AnOPCServer As OPCServer 

28 


 


OPC Data Access Automation Specification2.02 

Dim ARealOPCServer As String 

Dim ARealOPCNodeName As String 

Set AnOPCServer = New OPCServer ‘ note we need to specify an example to facilitate creating an 

object that is  

‘dimensioned with events 

ARealOPCServer = “VendorX.DataAccessCustomServer” 

ARealOPCNodeName = “SomeComputerNodeName” 

AnOPCServer.Connect(ARealOPCServer, ARealOPCNodeName) 

Private Sub AnOPCServer_ServerShutDown(ByRef aServerReason As String) 

‘ write your client code here to let go of the server 

End Sub 


29 

 



OPC Data Access Automation Specification2.02 


Download 1,93 Mb.

Do'stlaringiz bilan baham:
1   ...   35   36   37   38   39   40   41   42   ...   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