problems with OPC
I use the Matrikon OPC Server.
Reading a values of all types from OPC server happens correctly, but I have problems when writing a values to OPC server.
1. When trying to write a value with NUMBER type (in ThingWorx) in the OPC tag, I receive following error message:
Error Setting Property, server response: error writing property URI: /Things/Test/Properties/long [code = 400, <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">General exception while processing Edge Thing Process request: Input string was not in a correct format.</string>]
This occurs for the following types of OPC tags:
CURRENCY
LONG
REAL4
REAL8
SHORT
ULONG
USHORT
2. When trying to write a value with DATETIME type (in ThingWorx) in the OPC tag with DATE type, occurs write zero value and I do not get the error message.
3. OPC tags with CHAR and BYTE types imports to ThingWorx as STRING and when trying to write a value with these types, I receive following error message:
Error Setting Property, server response: error writing property URI: /Things/Test/Properties/char [code = 400, <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">General exception while processing Edge Thing Process request: ***ERROR writing Edge Thing Property /edge thing = Test, property = char, error = 0x80020005</string>]
4. OPC tags with STRING and BOOLEAN types read/write correctly.
What could be the problem?

