Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

No Reconnect on OPC DA XML - by: Emes

$
0
0
Hello Support
I have the problem that after a connection to the OPC XML servers is lost, the subscriptions are not restored.
To fix this, I built in a function that deletes all subscriptions (EasyDaClient.UnsubscribeAllItems), deletes the instance and creates new ones.
Unfortunately I get a system exception with UnsubscribeAllItems that closes my program.
I have the same behavior with the supplied demo program "EasyOpcNetDemoXml".
Please try if you have the same result and do the following:
-Start EasyOpcNetDemoXml
-Leave all addresses on default.
-Click Subscribe
-Disconnect from the server
-Wait for the message in the Exception field
-Reconnect to the server

A connection is no longer established on my systems

-Click Unsubscribe
program closes
The error message is in the Windows log
At least that's how it is on my systems.
can you reproduce this?

My version is 5.63

thanks in advance

Viewing all articles
Browse latest Browse all 1794

Trending Articles