Professional OPC
Development Tools

logos

Occasional exception when writing to tag

More
11 Sep 2014 22:55 #2275 by cromarty
I get occasional exception writing to a heartbeat tag (heartbeat is sent every 1s). Once it occurs the first time, then it continues to occur until I stop the program for a period of time. Even restarting the server does not fix it, only after a yet undetermined period of time if I start the program it seems to work again. I have seen previous posts relating to this error but not many specific solutions.

Error:
An OPC operation failure with error code -1073430526 (0xC004C002) occurred, originating from 'OpcLabs.EasyOpcRaw.DataAccess.RawEasyDAClient'. The inner exception contains details about the problem.

InnerException:
Cannot connect topic (timeout).

Stack Trace:
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.CheckSuccess(OperationResult operationResult)
at OpcLabs.EasyOpc.DataAccess.EasyDAClient.WriteItemValue(ServerDescriptor serverDescriptor, DAItemDescriptor itemDescriptor, Object value)
at Pi20dotNETWrapper.DataDevice.OPC.SendHeartbeat()

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

Moderators: support
Time to create page: 0.148 seconds

      

 Recommend this on Google