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.

Selecting XVTRs via API commands

Jens SM6AFV
Jens SM6AFV Member ✭✭
edited April 2019 in FLEX-6000 Signature Series
I have setup SmartSDR 2.4.9 on my new Flex6600 for 10 vhf/microwave transverters.
I have since before a separate C# application for transverter switching & Az/El control/display.

Now I want to set up SmartSDR for the correct XVTR from my own C# application by adding API
control of  XVTRs.

I have played around a bit with with the K1PGV C# Test program to test commands for XVTR activation. The test software work well but when I add a button for activation of a specific XVTR
nothing happends, no errors. The txtXVTR.Text is updated.

The code I added after the Mode buttons is:

private void btn1296_Click(object sender, EventArgs e)
        {
            _thisRadio.ActiveSlice.Panadapter.XVTR = "1296";
            txtXVTR.Text = "1296";
        } 

Any clue what I am doing wrong?

/Jens SM6AFV


Running the Test software under v3.0.19 did not worked ok so I downgraded to v2.4.9 again



Answers

  • Jens SM6AFV
    Jens SM6AFV Member ✭✭
    edited April 2019
    After digging into the API Wiki and logging/testing the communication with WireShark/Putty  I found the solution.

    The code for selecting transverters can be

    private void btn1296_Click(object sender, EventArgs e)
            {
                _thisRadio.ActiveSlice.Panadapter.Band = "X2";
                
            } 

    where X0, X1, X2 is the transverter in Transverters setup order.

    73

    Jens - SM6AFV

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.