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-Classic in COM
- Reading, Writing, Subscriptions, Property Access
- Can Develop OPC XML DA C++ client in Visual Studio 2015?
Can Develop OPC XML DA C++ client in Visual Studio 2015?
Regarding the .NET application, opcxml.demo.com is incorrect, the URL of the server is opcxml.demo-this.com/XmlDaSampleServer/Service.asmx , (notice the "-this" in the domain name). The way the application ships, it already has the correct URL pre-filled. I hope we are talking about the same application, because there are two for OPC-DA, and only one is equipped for OPC-XML connections. In the Start menu, it is labeled as "Demo Applications (.NET) -> Demo Application (OPC XML-enabled)".
Please Log in or Create an account to join the conversation.
In .net based demo application its not reproduced since the below exception is handled, and its showing exception "The Operation has timed out"
, please refer .net based demo app threads and callstack.
In case of C++ application no exception is handled, after entering into ReadMultipleItems(&pArgumentsArray) function I am disconnecting internet and it keep hangs there only. refer attached image.
And I also created threads n callstacks for my c++ application, I feel this one is having manged threads.
Please check it and let me know if you need any other info.
Thanks
Please Log in or Create an account to join the conversation.
If it is easy to reproduce on your side, it should hopefully also happen from within a purely .NET application, because it executes the some code anyway. Having it reproduced from a .NET app should make it easier to obtain the stack traces.
Can you reproduce it using the .NET-based Demo application with OPC XML-DA support, which we ship with the product, and when it happens, obtain the thread list and call stacks from that .NET application?
Please Log in or Create an account to join the conversation.
About, thread list and call stacks are not coming for managed code. I tried multiple ways.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Any help on blocking calls of this below line,
ResultArray.Attach(ClientPtr->ReadMultipleItems(&pArgumentsArray));
Its keep blocking if server is not stable, instead of waiting infinitely can we make non-blocking (timeout after some time) ?
This issue becomes critical for us, Could you please support, We do not have any control once its blocked on above line.
Thanks.
Please Log in or Create an account to join the conversation.
Best regards
Please Log in or Create an account to join the conversation.
Whats the below error? How I can resolve this? Any help please.
2016-12-14T0:14:47Z COPCXMLDAClient: readOpcXmlDaTagData: Exception occured OpcLabs.EasyOpc.Implementations.NetApi.NetApiException: An exception occurred during processing in a NET API OPC Data Access client. The inner exception contains details about the problem. ---> System.Web.Services.Protocols.SoapException: Relogin attempted too soon
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at OpcXml.Da10.Service.Read(RequestOptions Options, ReadRequestItemList ItemList, ReplyItemList& RItemList, OPCError[]& Errors)
at OpcXml.Da.Server.Read(Item[] items)
at Opc.Da.Server.Read(Item[] items)
at OpcLabs.EasyOpc.Implementations.NetApi.DataAccess.NetApiOpcDaServer.Read(Item[] items, Exception& exception)
--- End of inner exception stack trace ---
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-Classic in COM
- Reading, Writing, Subscriptions, Property Access
- Can Develop OPC XML DA C++ client in Visual Studio 2015?