- Posts: 13
- Thank you received: 0
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.
- Forum
- Discussions
- QuickOPC-UA in .NET
- PubSub
- No dataset message received within message receive timeout period (3000millisec)
No dataset message received within message receive timeout period (3000millisec)
- vinokarthik
- Topic Author
- Offline
- Premium Member
Attachments:
Please Log in or Create an account to join the conversation.
I was going through your responses from yesterday, and I noticed one thing: When I asked you to used the loopback adapter, you have switched both the publisher and the subscriber to it.
I no longer have access to the computer that had the similar problem, and the instructions we wrote in the Knowledge base are unfortunately not clear in this respect. But I think the resolution was different: Keep publishing to the original interface ("Ethernet 3" in your case, I believe). And only reconfigure the subscriber to use the loopback adapter. Can you try that too? Please use OpcCmd as the subscriber, because with it I can control easily what is happening. If we make OpcCmd work we can then proceed to other tools.
Best regards
Please Log in or Create an account to join the conversation.
- vinokarthik
- Topic Author
- Offline
- Premium Member
- Posts: 13
- Thank you received: 0
I will wait for your response.
Have a nice evening...
Best Regards,
Vinoth
Please Log in or Create an account to join the conversation.
I can see there are actually two publishers (1 and 2), etc.
You can do that too, I can tell you how, if you like, but that's not the point. We now know that the problem is really at the physical level. It is possible to interpret the messages - if they come from the PCAP file. But not from the network card.
I will reply later (tomorrow I think) if/when I get some idea where to look next.
Best regards
Attachments:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- vinokarthik
- Topic Author
- Offline
- Premium Member
- Posts: 13
- Thank you received: 0
Attachments:
Please Log in or Create an account to join the conversation.
and thanks again.
I do not see anything wrong with the way you are doing it.
Can you make a Wireshark capture (save in the PCAP format please) with at least one PubSub message, and post it here? (I tend to think the problem is that no messages are received at all, at the transport level, but by doing this, I want to inspect the message to see whether it can be processed by us - in case it *is* received).
Thank you
Please Log in or Create an account to join the conversation.
- vinokarthik
- Topic Author
- Offline
- Premium Member
- Posts: 13
- Thank you received: 0
Attachments:
Please Log in or Create an account to join the conversation.
- vinokarthik
- Topic Author
- Offline
- Premium Member
- Posts: 13
- Thank you received: 0
Unfortunately, I do not have second device or additional laptop with me at the moment.
But I tried your suggestion under "Subscriber does not receive anything, when on the same host as the publisher."
Created loopback adapter and used in PLC project, activated the PLC configuration. I still see packets being transferred.
Here is the final OpcCmd output for loopback adapter "Ethernet 2"
Best Regards,
Vinoth
Attachments:
Please Log in or Create an account to join the conversation.
thank you for your answers.
I think there might be actually multiple problems at hand. The QuickOPC version/build is correct (it is the latest one).
For the first one:
Can you please visit kb.opclabs.com/OPC_UA_PubSub_Common_Traps_And_Pitfalls and try the suggestion under "Subscriber does not receive anything, when on the same host as the publisher." (i.e. add a dedicated loopback adapter?) . Alternatively, run the publisher on a computer different from the subscriber.
Then, repeat the test with OpcCmd, specifying the new interface name instead of "Ethernet 3".
Only after we can make the test with OpcCmd work, we can proceed to other tests and possible fixes (for record - and before I forget: In the Connectivity Explorer, it might be necessary to explicitly specify the interface name; in the PubSub demo app test, the 'writer' filter should be cleared).
Also note that even after we make the data go through, the variable shown on the Connectivity Explorer does not use a simple OPC UA data type, but rather a custom structure. We have support for that too, but I would not be surprised if it takes further work.
Best regards
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in .NET
- PubSub
- No dataset message received within message receive timeout period (3000millisec)