Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Occasional exception when writing to tag - by: cromarty

$
0
0
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()

Viewing all articles
Browse latest Browse all 1794

Trending Articles