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.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Installation, Deployment
- It takes ~6 seconds to load the EasyUAFormsApplication
It takes ~6 seconds to load the EasyUAFormsApplication
Regarding your first post: Administering the UA application from a separate program is in the plans, but not supported yet.
If the issue is with placing the command onto the system menu, and not with running the form itself: There is nothing that forces you to place this command on the system menu. The reason why we "advertise" this method is because it can be used in any Windows desktop application in the same way.
But you can add a command to your application to invoke the OPC UA Administration dialog from anywhere you like - such as your own menus, icons etc. So this is the way I would go in this case. See: opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...UA%20Application%20Dialog.html . Basically, just call EasyUAFormsApplication.Instance.UIAdministerApplication (opclabs.doc-that.com/files/onlinedocs/OPCLabs-OpcStudio/Late...2~UIAdministerApplication.html ) when you want the dialog to appear. Suggested arguments are:
- for 'owner': your parent form
- for 'clientSelector': New EasyUAClientSelector(EasyUAClient.SharedInstance)
- for 'allowPullCertificateManagement': True
- for 'allowChangePrivateKeyPassword': False
I hope this helps
Best regards
Please Log in or Create an account to join the conversation.
Alternatively, can I add your component to another window/form and not to the main window?
Thank you.
Michael
Please Log in or Create an account to join the conversation.
Can I handle the "Administer OPC UA Application" from a separate program? If yes, what it the correct way to do it?
Thanks.
Michael
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I am saying that your solution cases to the form to be "white" for a few seconds until the menu is added to the system menu. The thread didn't help...
Thanks.
Michael
Please Log in or Create an account to join the conversation.
I do not not want how to interpret the video. I do not know what to expect, therefore I do not see anything wrong. What is that you are trying to say?
Regards
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.
Cannot reproduce it. In my tests, the time to execute this statement is so short that is not noticeable.
Please provide a minimal project that exhibits the problem.
As a workaround, you can do this in a background (example below). That should work unless the user actually needs to execute that command from the system menu before it is added - in your case in first 6 seconds.
Dim SetupSystemMenu = Sub()
EasyUAFormsApplication.Instance.AddToSystemMenu(Me)
End Sub
Dim SetupSystemMenuThread As New System.Threading.Thread(Sub() Invoke(SetupSystemMenu))
SetupSystemMenuThread.Start()
Please Log in or Create an account to join the conversation.
It takes ~6 seconds to add the form using the following API:
EasyUAFormsApplication.Instance.AddToSystemMenu(Me)
Is there a way to improve it?
The customer have to wait 6 more seconds until our main form is loaded...
Thank you.
Michael
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Installation, Deployment
- It takes ~6 seconds to load the EasyUAFormsApplication