Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
Need the latest SmartSDR, Power Genius, Tuner Genius and Antenna Genius Software?
SmartSDR v3.7.4 and the SmartSDR v3.7.4 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
SmartSDR v3.7.4 and the SmartSDR v3.7.4 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
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.
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
- 245 Community Topics
- 2.1K New Ideas
- 490 The Flea Market
- 7.4K Software
- 5.9K SmartSDR for Windows
- 135 SmartSDR for Maestro and M models
- 327 SmartSDR for Mac
- 243 SmartSDR for iOS
- 224 SmartSDR CAT
- 163 DAX
- 347 SmartSDR API
- 8.5K Radios and Accessories
- 6.9K FLEX-6000 Signature Series
- 768 Maestro
- 42 FlexControl
- 836 FLEX Series (Legacy) Radios
- 727 Genius Products
- 392 Power Genius XL Amplifier
- 251 Tuner Genius XL
- 84 Antenna Genius
- 222 Shack Infrastructure
- 149 Networking
- 370 Remote Operation (SmartLink)
- 118 Contesting
- 583 Peripherals & Station Integration
- 116 Amateur Radio Interests
- 811 Third-Party Software