Hi Experts,
As I know OPC server will send the default value of modle to client, but I want to know is how I can thdifferentiat the value is default value from the Subscription.DataChanged event, like for int type the default value is 0, string is empty.
How to differentiat value of DataChange from Subscription
Moderator: uasdknet
-
- Full Member
- Posts: 6
- Joined: 27 May 2016, 10:18
- Support Team
- Hero Member
- Posts: 3073
- Joined: 18 Mar 2011, 15:09
Re: How to differentiat value of DataChange from Subscriptio
Hi,
a client cannot differentiate between a default value and a "real world" value. The server should make sure that correct values are sent.
Do you use LinkModelToNode at server side? If yes, you have to set correct values before calling LinkModelToNode.
a client cannot differentiate between a default value and a "real world" value. The server should make sure that correct values are sent.
Do you use LinkModelToNode at server side? If yes, you have to set correct values before calling LinkModelToNode.
Best regards
Unified Automation Support Team
Unified Automation Support Team
-
- Full Member
- Posts: 6
- Joined: 27 May 2016, 10:18
Re: How to differentiat value of DataChange from Subscriptio
Thank a lot, I'll have a try.