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.
Write of mapped Properties
Please study this: opclabs.doc-that.com/files/onlinedocs/QuickOpc/2016.2/User%2...n%20the%20Mapper%20Object.html
and rule out the situations described there.
Most importantly:
1. For the same data, map an additional member with Kind = UADataMappingKind.Exception, and check whether it gets null or a non-null Exception after the Write.
2. Hook to the mapper's UpdateFailure event and check whether it isn't raised during the Write.
Regards
Please Log in or Create an account to join the conversation.
- Captain_Dash
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 69
- Thank you received: 0
Ignored
Write successfull
Please Log in or Create an account to join the conversation.
For writing to work, the Operations should include UADataMappingOperations.Write.
In your first class, you have Operations = UADataMappingOperations.All.
In your second class, you have Operations = UADataMappingOperations.ReadAndSubscribe.
So, I would expect the first class to do the Write but not the second.
Please Log in or Create an account to join the conversation.
- Captain_Dash
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 69
- Thank you received: 0
I have two classes with properties which i mapped succesfully, which means i can read the correct data from the server. Now I want to change properties and write the values to the server for each class. After Calling simply the client.write() methode one class is able to write on the server, the other ignores the writing without a message.
Following the structure of the two classes, with reduced properties
The one which will be ignored:
The one which will write, the class :
I am calling the write method like this
What the mistake here? Did I miss any Attribute? The write method should write all mappings, or shouldn't it?
best regards
Please Log in or Create an account to join the conversation.