I'm using the class library to get a list of all the elements within a view as such.
var iDms = protocol.GetDms();
var view = iDms.GetView("Evertz");
The call is returning 2 elements when the view looks like this
The parent element and a DVE, which is correct.
After moving the parent element into another view and making the DVE not visible the method still detects the DVE as an element in the old view.
Even restating the DMA the method still thinks that the DVE is present in the view.
Is there another method of retrieving the elements of view which also detects the DVEs only if they are visible?
I'm getting the same result for these versions of the DMA
DataMiner (10.2.1.0-11246)
DataMiner (10.2.3.0-11516)
Class Library 1.1.2.16
Hi Geovanny,
To me this makes sense since the DVE still exists under that view, even when it's hidden.
In your case you can do a check if the element is visible or not:
I guess that I misunderstood your use case. when you moved your parent element, did the DVE stay in the view or did it also move? In the latter case you can ignore my previous answer cause that seems to be an issue.
I guess that makes sense but the DVE child should follow the parent at least when it is not visible. I could see some possible issues with development of another driver/automation if the parent element is moved to another view and some times passes. Luckily for me I was working with the parent driver and DVEs a few days ago so I knew about their creation.