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.

Start OPC server

More
08 Jan 2016 06:07 #3736 by support
Replied by support on topic Start OPC server
QuickOPC controls the connections automatically. For this reason, there is no specific method to connect "on demand".

It is possible to "trigger" the connection by using some workarounds. You can do some (otherwise irrelevant) operation on the server to initiate the connection. For example, you can do a "browse" (e.g. on the root level), or make a Read of an item which may even be invalid and does not correspond to specific PLC (even though the server will return an error). If the connection to the server is not just a one-time thing but a lasting requirement, you can use Subscribe instead of Read.

It should be noted, however, that one of the design ideas behind OPC is that the fact whether the server is running or not should not have any meaning or make a difference in the results (besides performance). And, if the performance related to startup of the server is a concern, the server should be kept running by some other way than from the clients (e.g. by configuring it to be an auto-started Windows service). If controlling the server lifetime from the clients is somehow necessary to get the right results, I would say that something is not completely correct in either the design of the implementation of the system.

Best regards

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

More
08 Jan 2016 05:59 #3735 by support
Start OPC server was created by support
Dear Sir

I am using QuickOPC.NET and want to start the OPC server before i ask for data from a specific plc.

How can i do this in C# coding.

Thanks

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

Moderators: support
Time to create page: 0.042 seconds