Professional OPC
Development Tools


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 can i read a variable from type DTL in my program to C#

17 Jan 2020 11:59 #8149 by support

you should use the ReadMultipleMethods (example: ).
That is not going to simplify the code that much, but it will be much more efficient.

If the structure is also provided as an OPC UA Data Type (which is a *different* thing from a variable type), then it might be possible to read the whole structure at once. But I cannot know whether that is the case on the server side. In that case you would simply read the array element, and get back an object containing the structure membets. This is described here:
- .

The following user(s) said Thank You: alozano

Please Log in or Create an account to join the conversation.

17 Jan 2020 11:26 #8146 by alozano
now I am using this method to read a variable of type DTL and I will like it simplify the code, anyone can help me?


Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.186 seconds