I have a peculiar problem. I have an OPC DA client which upon running is getting the plug values correctly in the data change event. When the server shuts down, in the server shutdown event i need to call the data change event to write to few error plugs. I am unable to add these plugs to the subscription event because the server connection fails and i get an exception. I googled and did a lot of research but everywhere it is mentioned that we just call the disconnect method inside server shutdown and no plug value change detection can happen. I use OPC.Automation dll for my OPC DA operations. The code is in c#.
Call data change event to write error plugs during OPC DA Server shutdown event
161 views Asked by NmCoder At
0
There are 0 answers
Related Questions in C#
- Add additional fields to Linq group by
- couldn't copy pdb file to another directory while consuming wcf web service
- Why are the aliases for string and object in lowercase?
- WPF MessageBox Cancel checkbox check
- Resolve object using DI container with object instance
- Creating a parametrized field name for a SELECT clause
- Does compiler optimize operation on const variable and literal const number?
- Get data from one form to another form in C#
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Deleting Orphans with Fluent NHibernate
Related Questions in OPC
- OPC UA Foundation SDK: Server does not have an instance certificate assigned
- Reading from wincc with C#
- Read synchronously from opc server
- referencing a dll in a windows service
- Python OpenOPC asyncRefresh error
- OPC UA .NET Client - Get OPCUA Node ID using browse path
- How to compress/archive a temperature curve effectively?
- Java Connecting to OPC Server: NotConnectedException (AutoReconnectController)
- The address space in OPC can be loaded dynamically?
- Write a value with OPC UA Java (OPC Foundation)
Related Questions in OPC-DA
- Utgard - Access is denied, please check whether the [domain-username-password] are correct
- Connection to OPC DA server is working with C# console app .NET6, but not on web app Blazor Server side .NET6. What could be the reason?
- Is it possible to prevent IIS initialising DCOM security settings or to ensure that IIS does the DCOM security settings in the way we want?
- Windows service, writes to OPC takes long time to write to the OPC-object
- How to allow the 32b OPC DA server to be connected from the 64b client over DCOM?
- What is the best practice for reading items from OPC DA v1 server
- Call data change event to write error plugs during OPC DA Server shutdown event
- What do the different DCOM / COM security settings mean?
- OPC DA to UA gateway
- Connect to kepware OPC DA using Utgard
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)