Both WriteValue and WriteMultipleValues are throwing exceptions... System.ArgumentNullException was unhandled
Message=Value cannot be null.
Parameter name: statusCode
Source=OpcLabs.EasyOpcUA
ParamName=statusCode
StackTrace:
at OpcLabs.EasyOpc.UA.UAAttributeData..ctor(Object value, UAStatusCode statusCode)
at OpcLabs.EasyOpc.UA.UAAttributeData..ctor(Object value, UAStatusCode statusCode, DateTime sourceTimestamp)
at OpcLabs.EasyOpc.UA.UAAttributeData..ctor(Object value, UAStatusCode statusCode, DateTime sourceTimestamp, DateTime serverTimestamp)
at OpcLabs.EasyOpc.UA.UAAttributeData..ctor(UAAttributeData attributeData)
at OpcLabs.EasyOpc.UA.EasyUAEngine.WriteList(UASmartSession smartSession, List`1 writeList, OperationResult[] operationResultArray)
at OpcLabs.EasyOpc.UA.EasyUAEngine.Write(Dictionary`2 writeListDictionary, OperationResult[] operationResultArray)
at OpcLabs.EasyOpc.UA.EasyUAEngine.WriteAttributes(UAWriteArguments[] writeArgumentsArray)
at OpcLabs.EasyOpc.UA.EasyUAEngine.WriteAttributeValues(UAWriteValueArguments[] writeValueArgumentsArray)
at OpcLabs.EasyOpc.UA.EasyUAClient.WriteMultipleValues(UAWriteValueArguments[] writeValueArgumentsArray)
at OpcLabs.EasyOpc.UA.EasyUAClient.WriteValue(UAWriteValueArguments writeValueArguments)
at OpcLabs.EasyOpc.UA.EasyUAClient.WriteValue(UAEndpointDescriptor endpointDescriptor, UANodeId nodeId, Object value, TypeCode typeCode)
at OpcLabs.EasyOpc.UA.EasyUAClient.WriteValue(UAEndpointDescriptor endpointDescriptor, UANodeId nodeId, Object value)
tried with
public void WriteValue(
UAEndpointDescriptor endpointDescriptor,
UANodeId nodeId,
Object value
)
and
public void WriteValue(
UAWriteValueArguments writeValueArguments
)
EasyOpcUA Version 1.0.1217.1
Thanks