Professional OPC
Development Tools

logos

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.

Browse values

More
26 Apr 2013 07:27 #1305 by support
Replied by support on topic Browse values
I think that the statement should look like this instead:
DANodeElementCollection nodeDictionary = client.BrowseNodes("", serverClass, parentItemId, nodeFilter

The DANodeElementCollection already is a keyed collection that behaves like a dictionary in many respects (we used to have a real dictionary in past versions, but this is more appropriate).

Best regards
The following user(s) said Thank You: Koen

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

More
26 Apr 2013 07:18 #1304 by Koen
Browse values was created by Koen
Hello,

I'm having trouble browsing values.
with:
Dictionary<string, DANodeElementCollection> nodeDictionary = client.BrowseNodes("", serverClass, parentItemId, nodeFilter);

I get the error:

Cannot implicitly convert type 'OpcLabs.EasyOpc.DataAccess.DANodeElementCollection' to 'System.Collections.Generic.Dictionary<string,OpcLabs.EasyOpc.DataAccess.DANodeElementCollection>'


I'm working with V5.21 build 132.1

Am I doing something wrong here?

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

Moderators: support
Time to create page: 0.041 seconds