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 profiles from the API

Jim Shaffer
Jim Shaffer Member ✭✭
edited February 2018 in FLEX-6000 Signature Series
I apparently don't know how to use SaveGlobalProfile and ProfileGlobalSelection.
I have at least one panadapter with a slice, and make some modifications, and then do "theRadio.SaveGlobalProfile("testing");".
I then disconnect and reconnect the radio and do "theRadio.ProfileGlobalSelection = "testing";".
The hope is that this will restore the characteristics from the "testing" profile.
I would expect the ProfileGlobalList to contain my profile, but it contains nothing.  Apparently I've missed something obvious here, but I can't figure out what.

Answers

  • Mark_W3II
    Mark_W3II Member ✭✭✭
    edited February 2018
    When  you call Connect on the Radio object the API requests the status of many items, profile lists being among them. The Radio has a Property changed event you need to listen to. This will notify you when the profile list you desire has been loaded / changed.
    In this case look for the property name "ProfileGlobalList". Once you see this property notification you can then use the ProfileGlobalList to access existing profiles.

    Now that you know how to access the list I have to warn you that SmartSDR 1.4.X and earlier has an issue where selecting a global profile from an API application will / may corrupt the SmartSDR UI. This is a know issue in their bug tracking system which has been fixed in the next release of SmartSDR.

    Setting TX Profiles works without any issues.


    73,
    Mark 
  • Jim Shaffer
    Jim Shaffer Member ✭✭
    edited October 2015
    
  • Jim Shaffer
    Jim Shaffer Member ✭✭
    edited October 2015
    Don't know if my reply made it.  Thanks Mark, that worked.  I should have realized that.

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.