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

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.

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • 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.
  • Member ✭✭
    edited April 2019

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

    What about populating the PanadapterList collection? That doesn't seem to be working with v2.5.1.
  • 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?
  • 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.
  • Member ✭✭
    edited August 2019

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

Leave a Comment