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

_EasyUAMonitoredItemChangedEventArgs - by: Dq-soft

$
0
0
Hello,

i am using Delphi XE 7 and try to run your example UADocExamples

In Module _EasyUAClient.SubscribeMonitoredItem.Main.inc i always get an error

Exception in Class $C0000005 : Access Violation at 0x005e8132: read of adress 0x8f621b56


This happens always in line 25

WriteLn (eventArgs.Arguments.NodeDescriptor.ToString,':',eventargs.AttributeData.ToString)


I also get an exception if i use
WriteLn (eventArgs.Arguments.NodeDescriptor.ToString)
or
WriteLn (eventargs.AttributeData.ToString)
instead.

But i get no exception if use writeln(eventargs.Arguments.ToString) instead.


What can i do to run this example ?


Second question :

I want to get the value of the changed node as Variant an not as string is there a property that delivers variant?

Kind regards Dirk.

Viewing all articles
Browse latest Browse all 1794

Trending Articles