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.8.20 and the SmartSDR v3.8.20 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
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.8.20 and the SmartSDR v3.8.20 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
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.
DSP API anomalies on mode change
Stu Phillips - K6TU
Member ✭✭
On any mode change, the DSP functions of NR, ANF or APF are turned off in the radio (you can hear the difference) but status messages emitted are inconsistent.
For example; here is a sequence where the mode is set to LSB, ANF and NR are turned on and then the mode is changed to CW.
This has required me to add logic into my interface library for ObjectiveC that doesn't belong there.... i.e. set all DSP related functions OFF on a mode change.
Is this the intent or is this a bug?
Thanks
Stu K6TU
For example; here is a sequence where the mode is set to LSB, ANF and NR are turned on and then the mode is changed to CW.
S3BBEF666|slice 0 anf=1 anf_level=50There is no status message for ANF being turned off.
S3BBEF666|slice 0 nr=1 nr_level=50
S3BBEF666|slice 0 agc_mode=med agc_threshold=60 agc_off_level=50
S3BBEF666|slice 0 agc_mode=med agc_threshold=60 agc_off_level=50
S3BBEF666|slice 0 agc_mode=med agc_threshold=50 agc_off_level=50
S3BBEF666|slice 0 mode=CW filter_lo=-200 filter_hi=200 agc_mode=med agc_threshold=50 agc_off_level=50 qsk=0 step=10 step_list=1,5,10,50,100,200,400
S3BBEF666|slice 0 nr=0 nr_level=50
S3BBEF666|slice 0 nb=0 nb_level=50
S3BBEF666|slice 0 apf=0 apf_q=30
S3BBEF666|slice 0 qsk=1
This has required me to add logic into my interface library for ObjectiveC that doesn't belong there.... i.e. set all DSP related functions OFF on a mode change.
Is this the intent or is this a bug?
Thanks
Stu K6TU
0
Comments
-
This is really an oversight so it qualifies as a bug. Ideally what we would do would be to enumerate all of the DSP algorithms for each mode, saying which are enabled or not. Then if we added a new DSP algorithm, you would get that in a string. While this is all dynamic and fancy, it makes your implementation a lot harder since you would have to know for each of these whether there is a button or a slider, and what does, blah blah.
One way to implement what you are suggesting would be to have a separate parameter like "anf_enabled=0|1" that indicates if you should even show the button/slider at all. We could also co-opt the on off variable to be "anf=0|1|disabled". This first method seems cleaner if not more verbose.
Thoughts?0 -
Steve,
I think the simpler approach would be to just use the existing status messages and error responses...
For example, simply send out a status ofslice 0 anf=0 nr=0
when the mode is changed to something that doesn't support them like DIGL/U.
That way at least the user control would be turned off. The anf=disabled makes sense in so far as it allows the UI to remove the control. This is like vox_visible that was in the API at one point...
The interesting meta question here is the knowledge of the partitioning of logic between the radio and the UI - what level of knowledge is appropriate to embed in the client versus being told by the radio.
For now, just getting consistent status messages from the radio on changes would be ideal.
Stu K6TU0 -
So would you prefer the behavior to work like you suggest and then if the person presses the button (for a disabled function), we detect that the algorithm isn't present and send back an error and a refresh on a value of zero?0
-
That would be perfect! :-)
Stu0 -
RRR this is DE17530
-
This should be fixed in the next alpha.
A mode change will now report a DSP algorithm as off if it doesn't apply to that mode.
0 -
Awesome!
Thanks
Stu0
Leave a Comment
Categories
- All Categories
- 260 Community Topics
- 2.1K New Ideas
- 538 The Flea Market
- 7.6K Software
- 6K SmartSDR for Windows
- 139 SmartSDR for Maestro and M models
- 368 SmartSDR for Mac
- 242 SmartSDR for iOS
- 226 SmartSDR CAT
- 175 DAX
- 345 SmartSDR API
- 8.8K Radios and Accessories
- 6.9K FLEX-6000 Signature Series
- 44 FLEX-8000 Signature Series
- 859 Maestro
- 45 FlexControl
- 849 FLEX Series (Legacy) Radios
- 807 Genius Products
- 424 Power Genius XL Amplifier
- 280 Tuner Genius XL
- 87 Antenna Genius
- 227 Shack Infrastructure
- 153 Networking
- 409 Remote Operation (SmartLink)
- 130 Contesting
- 640 Peripherals & Station Integration
- 116 Amateur Radio Interests
- 878 Third-Party Software