Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.

Determine what Panadapter is active or deleted

Member
edited April 2015 in SmartSDR API
Hello,

I’m able to get  a Panadapter when its added or remove.

But having some challenges when it comes to finding the active one.

 For example,

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?

 

Thanks again,

Mike, AA5MC

Answers

  • Member
    edited April 2015
    Okay , figure this out, I was monitoring the wrong event. All is well in oz

Leave a Comment