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.

using FlexLib: how many pan adapters are available

Jim Shaffer
Jim Shaffer Member ✭✭
edited February 2020 in SmartSDR API

Is there a way, using FlexLib, to tell how many pan adapters/slices are available without having to parse the radio's model string?
I need this information when I connect.

Answers

  • Eric-KE5DTO
    Eric-KE5DTO Administrator, FlexRadio Employee admin
    edited April 2019
    Jim,

    There are both max and available values for slices and panadapters in the discovery packets.  However, we don't currently parse these values into the radio object in FlexLib as we don't utilize the information.  This is something that could be changed fairly easily if necessary.
  • Jim Shaffer
    Jim Shaffer Member ✭✭
    edited April 2019

    Thanks Eric, but I discovered I don't need this info.
  • Mark Erbaugh
    Mark Erbaugh Member ✭✭
    edited February 2020
    Eric,

    What about populating the PanadapterList collection? That doesn't seem to be working with v2.5.1.
  • Jim Shaffer
    Jim Shaffer Member ✭✭
    edited August 2019

    Mark, I'm using FlexLib 2.5.1, and the PanadapterList is being populated.  I'm curious what you're showing for PanadaptersRemaining?
  • Mark Erbaugh
    Mark Erbaugh Member ✭✭
    edited February 2020
    I think the problem is timing. If the GUI client is running when the FlexAPI client is connected, PanadaptersRemaining is correct, but PanadapterList does not show any current panadapters. If you change the number of panadapters after the FlexAPI client is connected, the PanadapterList is update with all panadapters.
  • Jim Shaffer
    Jim Shaffer Member ✭✭
    edited August 2019

    Interesting.  I guess I'm always changing the number after the connect.  My client sets IsGUI.

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.