- Posts: 10
- Thank you received: 0
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.
Incorrect Data Type Display
Please Log in or Create an account to join the conversation.
Attachment Capture.PNG not found
The value returned by the server is a one-dimensional array of VT_UI4. A corresponding .NET type would be an array of UInt32, but not all .NET languages can process it. Our component conforms to CLS (Common Language Specification), which allows the broadest interoperability. For this reason, the array of VT_UI4 is converted to array of Int64 before passing onto the application.
This behavior is documented in the Concepts, see Advanced Topics -> Data Types -> Data Types in OPC "Classic".
Also:
msdn.microsoft.com/en-us/library/12a7a7h3(v=vs.110).aspx#Types
Please Log in or Create an account to join the conversation.
Should be attached now.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
However the value that i received from your library e.Vtq.Value is an Int64[] of 2 Arrays. Example the OPC set the value as FF FF FF FF, What I received will be
Int64[0] = FF FF FF FF
Int64[1] = 00
This is the same case when I need to write a U4 value back to the OPC. I have to define Int64[].
I have attached an OPC Anlyzer trace showing the problem behavior.
Please let me know if you need any additional information.
Please Log in or Create an account to join the conversation.