I’m able to get a Panadapter when its added or remove.
But having some challenges when it comes to finding the active one.
If I have one Panadapter, I can easily get the band by (after the radio property have been set): Radio.ActiveSlice.Panadapter.Band;
So I add another slice, this is not an issue because the PanadapterAddedEventHandler passes the newly create Panadapter.
Now the challenges:
1: At this point I have two new Panadapter (A -20M) and (B-40M) on the screen the newly created one is the active one (B-40M). Now I go to select the slice in the first Panadapter (A -20 M) the proper radio event fires the Radio.ActiveSlice.freq property changes but the Radio.ActiveSlice.Panadapter.Band does not? It still said it was 40M
2: When I delete the Panadapter (B-40M) Panadapter-Remove method fires but I can’t figure out which one was removed ( without some type internal tracking list ). I don’t see any unique identifier for the individual Panadapter. What am I missing?