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.

EasyDAMultipleItemsChangedEventArgs

More
13 Sep 2023 14:15 - 13 Sep 2023 14:15 #12110 by PythonByte
hi,

in QuickOPC version 5.59 why this code doesn't work anymore, it was working in version 5.23? I can't find the DataAccess.EasyDAMultipleItemsChangedEventArgs it says not found?
Private Sub MultipleItemsChanged(ByVal sender As Object, ByVal e As DataAccess.EasyDAMultipleItemsChangedEventArgs) Handles m_opcClient.MultipleItemsChanged
 
        Dim Tags As New HQTags
 
        For i As Integer = e.ArgsArray.GetLowerBound(0) To e.ArgsArray.GetUpperBound(0)
 
            Dim Tag As HQTag = CType(e.ArgsArray(i).State, HQTag)
 
            If e.ArgsArray(i).Exception IsNot Nothing Then
                Tag.ServerError = e.ArgsArray(i).Exception.GetHashCode
            Else
                Tag.Value = e.ArgsArray(i).Vtq.Value
            End If
 
            'Add Tag to the Tags collection object
            Tags.Add(Tag)
 
        Next i
 
        RaiseEvent MultipleTagsChanged(Tags)
 
    End Sub

Any help would be much appreciated
Last edit: 13 Sep 2023 14:15 by PythonByte.

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

Moderators: support
Time to create page: 0.040 seconds