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.

OnPanadapterEvent missing

Mark Erbaugh
Mark Erbaugh Member ✭✭
edited March 2020 in SmartSDR API
When I start my FlexAPI C# program and connect to a radio, it receives a SliceAdded event. The slice's Panadapter property indicates that is associated with a Panadapter, but my program never received a PanadapterAdded event. What am I doing wrong?

Answers

  • Asher - K0AU
    Asher - K0AU Member ✭✭
    edited March 2020
    Is your program the display app that created the Panadapter? It's been a while since I played with the API, but a limitation is that non-display apps can't control the Pan view on SSDR. You can create and move slices but not Pans. Just guessing it may be related to what events you see.
  • Mark Erbaugh
    Mark Erbaugh Member ✭✭
    edited February 2020
    Never mind. I found a bug in my code that was preventing my program from seeing the OnPanadapterAdded event.

    Now, the question is: why are the panadapter and slice being added? As far as I know my program has not requested them. Does the radio do that on it's own once a GUI connects to it? I know with SSDR, if you close the app with no panadapters, when you reopen it, there are none.

    I thought it might be persistence, so I modified my app so that I can delete the automatically created panadapter before shutting down, but when I restart the app, it's still creating a panadapter.
  • James Whiteway
    edited September 2019
    I have the same issue with my test program. I don't have to issue a request for a panadapter. Just connecting to the radio will cause the radio to start sending panadapter data, as long as the height and width properties are set first. With the 6600M, it seems to confuse the radio as it causes the panadapter on the radio's front panel to freeze up. I am still trying to find a way to fix this. James WD5GWY
  • Mark Erbaugh
    Mark Erbaugh Member ✭✭
    edited February 2020
    I’ve done some more testing. It seems to be related to a warped sense of persistence. My application isn’t fully developed, but if I open multiple slices, then shut it down, when I reopen the app, it reopens those slices. If I delete all the slices, but not the panadapter and shut down, when I restart, it opens the panadapter and waterfall, but no slices. If, however, I delete all slices, waterfalls and panadapter, and shut down, when I restart, it opens a panadapter a waterfall, and a slice. If you do the same thing in SSDR, delete all slices, panadapter and waterfalls and shut down, when you restart, it doesn’t open anything.

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.