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

MikeColonna
MikeColonna 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

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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.