Welcome to the FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
The latest SmartSDR Software:
SmartSDR v4.2.20 | SmartSDR v4.2.20 Release Notes
SmartSDR v3.10.15 | SmartSDR v3.10.15 Release Notes
The latest 4O3A Genius Product Software:
The latest 4O3A Genius Product Software and Firmware
SmartSDR v4.2.20 | SmartSDR v4.2.20 Release Notes
SmartSDR v3.10.15 | SmartSDR v3.10.15 Release Notes
The latest 4O3A Genius Product Software:
The latest 4O3A Genius Product Software and Firmware
How to Receive Technical Support::
If you are needing assistance with FlexRadio products, 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.
If you are needing assistance with FlexRadio products, 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
Options
Jim Shaffer
Member ✭✭
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.
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.
0
Answers
-
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,
Mark0 -
0
-
Don't know if my reply made it. Thanks Mark, that worked. I should have realized that.0
Leave a Comment
Categories
- All Categories
- 401 Community Topics
- 2.2K New Ideas
- 686 The Flea Market
- 8.6K Software
- 195 SmartSDR+
- 6.6K SmartSDR for Windows
- 200 SmartSDR for Maestro and M models
- 456 SmartSDR for Mac
- 278 SmartSDR for iOS
- 268 SmartSDR CAT
- 220 DAX
- 395 SmartSDR API
- 9.6K Radios and Accessories
- 102 Aurora
- 348 FLEX-8000 Signature Series
- 7.2K FLEX-6000 Signature Series
- 994 Maestro
- 58 FlexControl
- 872 FLEX Series (Legacy) Radios
- 971 Genius Products
- 481 Power Genius XL Amplifier
- 357 Tuner Genius XL
- 133 Antenna Genius
- 321 Shack Infrastructure
- 226 Networking
- 482 Remote Operation (SmartLink)
- 145 Contesting
- 845 Peripherals & Station Integration
- 147 Amateur Radio Interests
- 1.1K Third-Party Software
