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.
How to use PercentDeadband
Consider reporting it to the server vendor then...
Best regards
Please Log in or Create an account to join the conversation.
- goosvanbeek
- Topic Author
- Offline
- Platinum Member
- Posts: 42
- Thank you received: 4
I tried it with the original OpcFoundation dll's. Worked fine with the OPCLabs.KitServer.2, but not with the Freelance2000OPCServer.110.1 server.
Thanks for the suggestion.
Regards,
Goos van Beek.
Please Log in or Create an account to join the conversation.
This can be a problem on the server side. Have you tried with some other OPC client? If not, please do so.
If you get the same problem with some other OPC client, then it is most likely a problem on the server side and we would not be able to do anything about it. The workaround is add filtering code on the client side, but that of course does not reduce the amount of communication between the OPC client and the server, which is one of the reasons the PercentDeadband exists.
If it works with some other client, please post here the details of that test, and we will work on it further.
Best regards
Please Log in or Create an account to join the conversation.
- goosvanbeek
- Topic Author
- Offline
- Platinum Member
- Posts: 42
- Thank you received: 4
Do you have any suggestions for what I can do about it?
Windows Server 2019
Freelance2000OPCServer.110.1
OpcLabs 5.61.241 (Nuget)
public static void TestPercentDeadbandAbb(){
using(var client = new EasyDAClient()){
client.ItemChanged += client_ItemChanged_PercentDeadband;
Console.WriteLine("Subscribing with 10% deadband...");
var handle = client.SubscribeItem("", "Freelance2000OPCServer.110.1", "62_TICA227_PV",
VarTypes.Empty, 100, 10.0f, null);
Console.WriteLine("Waiting for 30 seconds...");
Thread.Sleep(30 * 1000);
Console.WriteLine("Changing subscription to 0% deadband...");
client.ChangeItemSubscription(handle, new DAGroupParameters(100, 0.0f));
Console.WriteLine("Waiting for 30 seconds...");
Thread.Sleep(30 * 1000);
Console.WriteLine("Unsubscribing...");
client.UnsubscribeAllItems();
Console.WriteLine("Waiting for 10 seconds...");
Thread.Sleep(10 * 1000);
}
}
// Item changed event handler
static void client_ItemChanged_PercentDeadband(object sender, EasyDAItemChangedEventArgs e){
count++;
if(e.Succeeded)
Console.WriteLine(e.Vtq);
else
Console.WriteLine("*** Failure: {0}", e.ErrorMessageBrief);
}
Please Log in or Create an account to join the conversation.
- goosvanbeek
- Topic Author
- Offline
- Platinum Member
- Posts: 42
- Thank you received: 4
It's not that urgent, I'll wait for the upcoming version.
Thanksfor your reply.
Regards,
Goos van Beek.
Please Log in or Create an account to join the conversation.
yes, you are right - there is a bug in QuickOPC in this version.
How urgent is it for you to get it fixed? (unless it is urgent, it will get fixed into the upcoming version, 2021.1).
Best regards
Please Log in or Create an account to join the conversation.
- goosvanbeek
- Topic Author
- Offline
- Platinum Member
- Posts: 42
- Thank you received: 4
I'm trying to implement PercentDeadband as described in this example , but it doesn't seem to work. I don't see any difference in deadband between the percentages, even if I change it to 90%. I expected a less frequent update, based on the difference in value.
I also tested it on a ABB Freelance server, but with the same result.
Can you help me any further?
Regards,
Goos van Beek.
Windows server 2019
.Net Framework 4.72
QuickOPC 5.59.1055
Please Log in or Create an account to join the conversation.