APM-OPCDA Server communication problem


 Product(s):APM Implementation and Performance Management
 Version(s):All
 Environment:N\A
 Area:ODC
 Subarea:N\A

Problem 

Trying to setup OPCDA access, and get following errors in APM and Matrikon:


Sample Log file error in APM:

2018-12-09 19:46:42.0558Z Error SERVER$ Ivara.ServiceProvider.ODC.CreationRuleBatchProcessor [53] Failed to read indicator: Indicator [ODC-BUFFER FLUID REFILL PUMP PU493,XM497 WORKING HOUR] from plugin [prododc::opcda://localhost/AIM.OPC.1/ad853bf1-1e22-11d5-9038-0050da19ddda] EXCEPTION OCCURRED:NullReferenceException Object reference not set to an instance of an object.    at OPCDA.NET.SyncIOGroup.Add(String , Int32& , Boolean ›, VarEnum „)
   at OPCDA.NET.SyncIOGroup.Add(String , Int32& )
   at OPCDA.NET.SyncIOGroup.Add(String name)
   at Ivara.ServiceProvider.ODC.OPCDAPlugin.OpcDaAgent.<GetValues>d__8.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Ivara.ServiceProvider.ODC.Common.ODCPluginBase.PollIndicator_Impl(EXPLinkSession session, Indicator indicator, ODCReadingCreationRule pollingRule, ODCReadingRequest readingRequest) in F:\SRC\hotfixes\7.10.0.209\APM\Service Providers\ODC\IvaraODCCommon\ODCPluginBase.cs:line 795
   at Ivara.ServiceProvider.ODC.Common.ODCPluginBase.PollIndicator(EXPLinkSession session, Indicator indicator, ODCReadingCreationRule pollingRule) in F:\SRC\hotfixes\7.10.0.209\APM\Service Providers\ODC\IvaraODCCommon\ODCPluginBase.cs:line 477
   at Ivara.ServiceProvider.ODC.CreationRuleBatchProcessor.ProcessBatchThread() in F:\SRC\hotfixes\7.10.0.209\APM\Service Providers\ODC\IvaraODCServiceProvider\CreationRuleBatchProcessor.cs:line 226

Solution

The communication was restored and the client connects without error after the following 2 changes on the OPC Server side:

1. Authentication was changed from Identify to Anonymous

2. The OPC Server was rebooted

As Support for setting up the connection between the OPC client and Server are not our domain, we are providing the information that we were provided by the user on the incident.   These are suggestion for what to check.  If you need further assistance, you would need to contact your OPC specialists.

See Also

SR 7000856085