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.

Slice.Panadater is null whin using non GUI mode

Member
edited February 2017 in SmartSDR API

I'm writing a driver for RemoteHams.com for the 6000 series of radios. I have most everything working, but I ran into problem.

The library is running in the non-GUI mode (API.IsGUI = false;)

When creating a Slice with and getting the Ack back from the library, the Slice.Panadater is null, and I can't access the RFGain settings as they are in the Panadater class.

If I start the library up using API.IsGUI = true; I get the Panadapter and of course I can access the RFGain settings, but if I do that, then one can't run SmartSDR as it says "In Use".


The issue is, I would like run the my software stand alone and/or with SmartSDR running.

It would be helpful to be able to just set the RFGain on the radio. Both reading and setting would be real nice.

73

W8RJ





Welcome!

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

Answers

  • Community Manager admin
    edited February 2017
    This is a reasonable request, but today it doesn't work this way.  Are you just looking to change the preamp setting on an SCU?  There is a command to do this at the TCP/IP API level, but it may be security locked today.  We could open up this command easily, but this would be a little harder to do in Windows, but still possible.  Are you using Windows to write the server portion of your code?
  • Member ✭✭
    edited February 2017
    I was researching this before I noticed Steve answering you. And I certainly don't mean to distract the conversation between you and Steve. My environment creates a slice properly connected to the panadapter regardless of the state of isGUI. The difference is, I create the panadapter first. I don't know what it means having a slice receiver without a panadapter. Of the three constructors for a Slice there is only one not requiring a panadapter in the signature. I am guessing you are using that one? Would it violate your use case to create a panadapter first? Steve, I'll back out now so as not to distract your conversation. I just wanted to add that piece about it working if the pan is created first. Just because you create one does not imply you have to be drawing it or even subscribe to its data stream.
  • Community Manager admin
    edited December 2016
    He can't create the panadapter without saying he is a GUI client, once he says he is a GUI client, he can no longer connect with SmartSDR.  This is the crux of his problem.
  • Member
    edited December 2016

    Steve,

    That would be a good solution and the driver is written in .Net C#.

    Thanks

    Roger

Leave a Comment