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

Error in Live Binding when closing WPF Application - by: treams-gmbh

$
0
0
Hi,

I have implement a live binding in a WPF Application. The binding is working well but when I close the application i got the following error message:

(QickOPC 2018.3)

System.ArgumentException: OPC-DA subscription handle is invalid.
Parametername: handleArray[0]
bei OpcLabs.BaseLib.Utilities.ExceptionUtilities.CheckExceptions(IEnumerable`1 exceptions)
bei OpcLabs.BaseLib.LiveBinding.PointBinder.Operate[TPointActor](IEnumerable`1 pointBindings, Predicate`1 bindingPredicate, Func`2 getParametersFunc, Predicate`1 supportsPredicate, Func`2 getArgumentsTypeFunc, TPointActor actor, ArgumentDirections argumentDirections, Action`3 action, Func`3 succeededFunc)
bei OpcLabs.BaseLib.LiveBinding.PointBinder.InternalSubscribe(Boolean active, IEnumerable`1 pointBindings)
bei OpcLabs.BaseLib.LiveBinding.PointBinder.<>c__DisplayClass72_0.<Subscribe>b__0()
bei OpcLabs.BaseLib.LiveBinding.PointBinder.ExecuteOperationDirect(Action operation)
bei OpcLabs.BaseLib.LiveBinding.PointBinder.ExecuteOperation(Action operation)
bei OpcLabs.BaseLib.LiveBinding.PointBinder.Subscribe(Boolean active, IEnumerable`1 pointBindings)
bei OpcLabs.BaseLib.LiveBinding.PointBinder.Subscribe(Boolean active, IEnumerable`1 bindingGroups)
bei OpcLabs.BaseLib.LiveBinding.PointBinder.Subscribe(Boolean active, PointBindingGroup bindingGroup)
bei OpcLabs.BaseLib.LiveBinding.PointBindingGroup.ExecuteSubscribe(Boolean active)
bei OpcLabs.BaseLib.LiveBinding.PointBindingGroup.MakeLinks(Boolean make)
bei OpcLabs.BaseLib.LiveBinding.AbstractBindingGroup.set_OnlineBinder(AbstractBinder value)
bei OpcLabs.BaseLib.LiveBinding.BinderBase.SetGroupsOnlineBinder(AbstractBinder onlineBinder)
bei OpcLabs.BaseLib.LiveBinding.PointBinder.OnOnlineChanging(Boolean newValue)
bei OpcLabs.BaseLib.LiveBinding.BinderBase.set_Online(Boolean value)
bei OpcLabs.BaseLib.LiveBinding.BindingExtender.SetProvidersOnline(Boolean online)
bei OpcLabs.BaseLib.LiveBinding.BindingExtender.OnOnlineChanged()
bei OpcLabs.BaseLib.LiveBinding.BindingExtender.Dispose(Boolean disposing)
bei System.ComponentModel.Component.Finalize()


What can I do?

Thanks

Viewing all articles
Browse latest Browse all 1794

Trending Articles