- Posts: 4
- Thank you received: 1
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.
Error with node registration
ok i see. I checked without a license and then it works.
Thank you very much for solving my issue!!!
I will get an license upgrade to get it run!
Best Regards and Thanks!
Please Log in or Create an account to join the conversation.
I have realized what the reason is.
You have a license for the Standard edition, but the node registration and operation control services need at least the professional edition: opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User's...e.html#Product%20Editions.html .
Temporarily uninstall/do not embed your license key to test this out. I can also send you an evaluation license key. For the real usage, you will need an edition upgrade.
The error message we give should be better in the "unlicensed" case, so that the reason is immediately apparent; this is an oversight on our side.
Best regards
Please Log in or Create an account to join the conversation.
I do not see a problem in the way you are doing the node registration. It should work, it's not clear why it does not.
I tried the following minimal program, with QuickOPC 5.70.1202:
Imports Microsoft.Extensions.DependencyInjection
Imports OpcLabs.EasyOpc.UA
Imports OpcLabs.EasyOpc.UA.Services
It does not throw either. I am targeting .NET Framework (4.7.2); which OPC runtime are you targeting please?
It might be necessary that you create a project with which I can reproduce the problem. Or send me your current project, if that's not a confidentiality problem (can be done privately by email).
Bets regards
Please Log in or Create an account to join the conversation.
I checked the program again.
First concerning the declaration of "client", its done at the same spot where i declarate the Dim nodeDescriptorArrayTX() As UANodeDescriptor so
Concerning the calls of the methods.
When i start my program, with the start, Checkserver() is called. In Checkserver() I do the initialisation of "client" and only after that I when i verify that the Server is running, i do the registration.
result was: {DiscoveryHost="localhost"} (Default)
and
result was: OpcLabs.EasyOpc.UA.EasyUAClient
The logs that im writing are giving me the following info:
18:18:41 client serial no.: 1999223851
18:18:41 trying to connect to OPC...
18:18:43 Server: running
18:18:43 trying to connect to PLC…
18:18:44 PLC: connection running
18:18:44 Register Nodes
18:18:44 OpcLabs.EasyOpc.UA.EasyUAClient
18:18:44 No service for type 'OpcLabs.EasyOpc.UA.Services.IEasyUAClientNodeRegistration' has been registered.
So i guess the sequence should be fine.
Best Regards
Please Log in or Create an account to join the conversation.
I can see that you are initializing the 'client' variable in the CheckServer() method (but I do not see where 'client' is declared).
Are you sure that you are calling CheckServer() *before* you call RegisterNodes() (where 'client' is used)?
Ideally, you would move the initialization of 'client' out of 'CheckServer', maybe even initialize it right at the point where it is declared.
I cannot be sure that this is the reason, but needs to be checked first.
Or, put a breakpoint onto the line that throws in RegisterNodes(), and verify that 'client' is not null.
Regards
Please Log in or Create an account to join the conversation.
thanks for the quick reply.
Im running with Version 5.70.1202, i also tried an earlier version but same issue.
Im not sure about the second question, i dont work that often with VB.net hope i post what you were asking for!
Thanks again and best regards!
Please Log in or Create an account to join the conversation.
Please provide some additional information.
1. Which version of QuickOPC are you using?
2. Please provide the code that instantiates the value in the 'client' variable.
Best regards
Please Log in or Create an account to join the conversation.
Im trying to register some nodes to speed up my OPC_UA connection. I took some C# code as example from the manual, but somehow its crashing all the time with this message:
System.InvalidOperationException: No service for type 'OpcLabs.EasyOpc.UA.Services.IEasyUAClientNodeRegistration' has been registered.
OPC Connection is up and running (Heartbeat is going back and forth). Im connected to a PLC1500 from Siemens.
Thanks already in advance!
Please Log in or Create an account to join the conversation.