Search all the nodes #2640
Unanswered
Yoshibeatsu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, I apologize for my question as it seems to be a sensitive topic that often angers people. I tried to ask on another opc repo and people got very angry....
Hi,
I am quite new to programming, and I used the reference console client with the BrowseFullAddressSpace sample method to try to get all the nodes. It works fine on my development machine, but it runs into a timeout on a real OPC server, had the same results with FetchAllNodesNodeCacheAsync. I understand this isn't common practice and it requires a lot of resources, but this was a request I received. It doesn't matter how long it takes; the important thing is to get the result, which is to scan all nodes and export them to a CSV. Its working fine on the referenceServerClient. I added more logging and saw that it runs into a timeout at line 567 on browse async but only on the real opc server.
As I understand it, this method is browsing for many things simultaneously. Can I split it up into multiple requests? Maybe do it in a foreach to keep the load as low as possible? Is also the serach recursive enough to get all the nodes from all folders and subfolders? Thank you so much in Advance.
https://github.com/OPCFoundation/UA-.NETStandard/blob/master/Applications/ConsoleReferenceClient/ClientSamples.cs
Beta Was this translation helpful? Give feedback.
All reactions