BadTypeMismatch while writing value from Client
Posted: 22 Oct 2015, 13:22
Hello all,
UaExpert gives a "Write to node ... failed [ret = BadTypeMismatch] when I change the value in the Data Access View.
DataType in Attributes is UInt16, this seems ok, nevertheless Data Access View shows Datatype Int32.
HasTypeDefinition is BaseDataVariableType
AccessLevel is Readable,Writeable
If I put in text instead of a number I get an other error (Could not convert value...) -> good.
My (own written) server shows no error message.
BTW how can I catch such write changes fron the client in the server. PlainVariable.addChangeListener() seems to catch all changes, even those with setValue().
Thanks for any help.
Regards, Peter
UaExpert gives a "Write to node ... failed [ret = BadTypeMismatch] when I change the value in the Data Access View.
DataType in Attributes is UInt16, this seems ok, nevertheless Data Access View shows Datatype Int32.
HasTypeDefinition is BaseDataVariableType
AccessLevel is Readable,Writeable
If I put in text instead of a number I get an other error (Could not convert value...) -> good.
My (own written) server shows no error message.
BTW how can I catch such write changes fron the client in the server. PlainVariable.addChangeListener() seems to catch all changes, even those with setValue().
Thanks for any help.
Regards, Peter