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.

× If you are developing in .NET, but are using the OPC-UA (OPC Unified Architecture), please post in the QuickOPC-UA category instead.

OpcDa items

More
02 May 2021 14:22 #9639 by Sacha
Replied by Sacha on topic OpcDa items
Prog ID "OPCLabs.Kit.Server.2" is a copy error.:whistle:
If the problem is only with special datatype, this error is not important for me.
Thanks!
Sacha

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

More
02 May 2021 12:06 #9638 by support
Replied by support on topic OpcDa items
I highly doubt that this is the actual source code you are using, because "OPCLabs.Kit.Server.2" is not a ProgId of our server. Correct ProgID is "OPCLabs.KitServer.2". With the incorrect ProgID, the error you would get is "Invalid class string". Consequently, I cannot trust that the remainder of the problem report is correct either; it appears to be at least partially made up.

In addition, Simulation.Constant_RECORD item uses VT_RECORD datatype. Tis is an extremely rarely used data type that almost no tools are able to consume, including .NET interop. "Datatype is not compatible." is perfectly OK error message with this item. Nothing wrong there.

Regards

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

More
02 May 2021 10:48 #9637 by Sacha
Replied by Sacha on topic OpcDa items
When I read the values some of them give me an error .

Reading without error:
RequestList(0) = New OpcLabs.EasyOpc.DataAccess.OperationModel.DAReadItemArguments
RequestList(0).ServerDescriptor.ServerClass = "OPCLabs.Kit.Server.2"
RequestList(0).ServerDescriptor.ServerClass =  "Simulation.Register_DATE"
ReturnedList = EasyDAClient1.ReadMultipleItems(RequestList)
ReturnedList (0).ItemDescriptor.ItemId --> Simulation.Register_DATE
ReturnedList (0).ServerDescriptor.Path --> OPCLabs.Kit.Server.2

Reading with error:
RequestList(0) = New OpcLabs.EasyOpc.DataAccess.OperationModel.DAReadItemArguments
RequestList(0).ServerDescriptor.ServerClass = "OPCLabs.Kit.Server.2"
RequestList(0).ServerDescriptor.ServerClass =  "Simulation.Constant_RECORD"
ReturnedList = EasyDAClient1.ReadMultipleItems(RequestList)
ReturnedList (0).ItemDescriptor.ItemId --> Simulation.Constant_RECORD
ReturnedList (0).ServerDescriptor.Path --> opcda:OPCLabs.Kit.Server.2
ReturnedList (0).ErrorID = 0x80020005
The error description is : Datatype is not compatible.

The external OPCServers I connected did not give me problems but if I have a similar problem in the future what can I do?

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

More
02 May 2021 06:25 #9636 by support
Replied by support on topic OpcDa items
The problem description is insufficient.

Rules for forums posts can be found here: www.opclabs.com/forum/announcements12/2365-rules-for-forum-posts

Regards

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

More
01 May 2021 21:05 #9635 by Sacha
OpcDa items was created by Sacha
I can read data from path OPCLabs.KitServer.2 but not from opcda:OPCLabs.KitServer.2.
Why ?
Regards
Sacha

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

Moderators: support
Time to create page: 0.076 seconds