- Posts: 35
- 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.
QUICKopc Client application missing the values and not retaining back
- SENTHILKUMAR
-
Topic Author
- Offline
- Platinum Member
-
2. how hang up issue reduced after inserting the below code?
can you advice what will be advisable value for below parameter when OPC server is in local network?
easyOPCClient.InstanceParameters.Timeouts.ReadItem
presently we are reading OPC values at the interval of 10 seconds. by assumption We mmade the value as 30 seconds
easyOPCClient.InstanceParameters.Timeouts.ReadItem = 30000
Please Log in or Create an account to join the conversation.
- SENTHILKUMAR
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 35
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- SENTHILKUMAR
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 35
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Is it null? Or is it something else? What then?
Please Log in or Create an account to join the conversation.
- SENTHILKUMAR
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 35
- Thank you received: 0
DAVtqResult[] vtqResults = easyOPCClient.ReadMultipleItems(ServerDetail, subarray);
whether the steps followed is right mentioned below to code hang
2. How to avoid value missing. i.e., in the below line, vtqReqsults become blank after certain time. the time might me 5 min , 10 min or 2 Hours also. after 2 hours , the value will be blank.
vtqResults = easyOPCClient.ReadMultipleItems(ServerDetail, subarray);
if any more clarification required, let us know. we are awaiting for your reply.
Please Log in or Create an account to join the conversation.
- SENTHILKUMAR
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 35
- Thank you received: 0
please refer the code attached in earlier post.
we faced the issue at the line specified in the code
the program control have not released once get into the below method "easyOPCClient.ReadMultipleItems(ServerDetail, subarray);"
so we added the below statements in the initialize function
after adding above lines, we observed the program control some what came out of the method. it stopped hanging. ( Not frequent as earlier)
But after some time, it was missing the opc tag values.
DAVtqResult[] vtqResults = easyOPCClient.ReadMultipleItems(ServerDetail, subarray);
the vtqResult become blank after sometime. the time duration of missing data is in random manner. sometime the we get values for 5 min continuously , sometimes 10 minutes, some time 2 hours
the value missing in vtqResult is not predictbale.
so we included another set of commands in the code as shown below
Please Log in or Create an account to join the conversation.
ad 2.: Please provide more information. What precisely happens? Do you get errors? What precisely are they? Can you send the generated log file(s) you have?
Does the execution of your reading loop "hang" somewhere, OR does the loop continue running, but you get errors every time it executes?
Regards
Please Log in or Create an account to join the conversation.
ad 1.: .NET Franmework 4.6. is fine. For other requirements, see opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ml#Application_Deployment.html . You basically just need to deploy our assemblies, and take care of installing the license.
I will reply to the second issue later.
Best regards
Please Log in or Create an account to join the conversation.
- SENTHILKUMAR
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 35
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- SENTHILKUMAR
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 35
- Thank you received: 0
Issue : OPC Client Application is running continuously. but at some instance, it missing the communication and its not recovering the communication back.
the required details we shared below
we are owned license for Quick OPC .please find below Quick OPC version detail. Version : 5.51
we have below set of Queries
.
1. Currently the deployment machine has .NET Framework 4.6. whether any other packages need to update in deployment machine??
we had a active license for Quick OPC Application
2. Our OPC Client Application is running continuously. but at some instance, it missing the communication and its not recovering the communication back.. we need your expertise in resolving the issue.
please find below our code.
Variable deceleration :
initialize application:
Reading OPC Values in infinite loop for every 10 seconds interval. the OPC values logging in text file at an interval of 10 seconds. continuously logging in the text file.
please find below function as it is
Closing of application:
while closing the application, we are disposing the OPC DA Client instance.
Let us know any other details required.
we are struggling to fix the issue. please kindly share your help to overcome the issue.
Please Log in or Create an account to join the conversation.