Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Communication abnormality

More
08 Jul 2025 08:15 #14315 by support
Replied by support on topic Communication abnormality
Hello.

1. Retest with the recent version of QuickOPC. Although there was no specific fix to such an issue, there were multiple changes (such as using a newer OPC UA stack/SDK) that can have influence on this. Let me know if you need a temporary license key to cover the recent version, if you do not own the license yet.

2. Please clarify what you mean by: " a certain device cannot receive any subscribed data,". In my understanding the device doe snot subscribe to the data. It is the OPC client that subscribe to the data from the device Did you mean that the OPC client does not receive data from the device?

3. In the case above, are you saying that no notifications arrive for that device? Or are there still some coming, but with AttributeData being null? Each notification has an .Exception member that is filled in in such case. In such case, is there something in the .Exception property?

4. I do not understand this: "EasyUaClient opens abnormal output and global tracking log output, but cannot find the log of the abnormal device,". Please elaborate of what precisely you mean.

5. I do not understand this either: "the client is forced to notify the internal part. After canceling the subscription of the target device IP, the re-subscription can subscribe to the collected signal normally". What is "cancelling the subscription of the target device IP"? - please explain in terms of call to QuickOPC methods. What are you doing there?

6. Depending on the answers to the above question, there may be different suggestion. But from what I know so far, the problem can be either on the client side, and server side. It looks like that we will need a Wireshark capture of the communication between the client and the server (at the time of the problem - to check if there is any communication still - but also before it).

Regards

Please Log in or Create an account to join the conversation.

More
07 Jul 2025 08:00 #14314 by xpycy001
Dear Support:

The following is the dilemma I encountered. I have no idea or clue for a long time. There is really no other way. I would like to ask for some advice.

Abnormal scenario description:
1 client.exe: windows server2019+ C# .Core7.0 + OpcLabs.EasyOpc.dll, OpcLabs.EasyOpcUA.dll ... ver: 5.80.255.2
2 A client.exe uses EasyUaClient to connect and subscribe to more than 80 different Opc Server devices
3 Abnormality: After working normally for a period of time, such as: a week later, a certain device cannot receive any subscribed data, and there is no task tracking log or disconnection retry log
4 EasyUaClient opens abnormal output and global tracking log output, but cannot find the log of the abnormal device,
5 When the abnormality occurs, the target device can be subscribed to and communicated with normally through third-party tool software (OpcUA)
6 Through the interface function of the software, the client is forced to notify the internal part. After canceling the subscription of the target device IP, the re-subscription can subscribe to the collected signal normally

The following are the relevant preparations I have made
1 The client.exe performs thread monitoring and log output every 20 seconds to understand the number of internal threads, TaskPool.Count, etc., and no abnormality is found
2 Memory usage is low, CPU load is low, no abnormality is observed
3 Other devices subscribe and collect normally

The situation described above has occurred several times in several of my projects. Because it involves the production environment, this abnormality must be resolved. Do you have any good suggestions and ideas to help me solve it?

Looking forward to your attention and reply

Simon.Yu
2025.7.7 15:59
www.vskysoft.com  
 

Please Log in or Create an account to join the conversation.

Moderators: supportvaclav.zaloudek
Time to create page: 0.209 seconds