Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Writing Values

More
20 Jun 2012 11:21 #905 by SW
Replied by SW on topic Re: Writing Values
Thanks, seems ok now

Please Log in or Create an account to join the conversation.

More
19 Jun 2012 19:59 #902 by support
Replied by support on topic Re: Writing Values
The problem is fixed in build 1.00.1262.1, which is now posted on the Web site.

Please Log in or Create an account to join the conversation.

More
19 Jun 2012 11:06 #901 by support
Replied by support on topic Re: Writing Values
You are right. Thanks for finding this problem.We will post a fix later today, or tomorrow.
The method overload that allow you to pass in UAStatusCode (you can use e.g. UASeverity.GoodOrSuccess) should work fine.

Please Log in or Create an account to join the conversation.

More
18 Jun 2012 09:58 #895 by SW
Writing Values was created by SW
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

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.047 seconds