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.19 and the SmartSDR v3.8.19 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.8.19 and the SmartSDR v3.8.19 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.
FlexAPI Waterfall Gain and Black Level
Mark Erbaugh
Member ✭✭
Help: I'm using the FlexAPI waterfall FallGain and FallBlackLevel, but changing them makes no difference to the data received.
0
Answers
-
Mark,
The data in the waterfall stream, the gain, the black level and auto black level (if auto black is selected) are all used to decide what color any point should be. Using them a value is calculated that is then used to index into a color gradient. All of this is done in the client (i.e. SmartSDR) so nothing coming from the radio changes. Somewhere I have a piece of code that Eric sent me a few years ago that illustrated what is done. If I can find it, I'll post it here.
If you want to look at an example of the technique, look at the Waterfall code in my Mac client on GitHub (DougPA/xSDR6000).
I hope that helps.
73's0 -
Doug,
That helps. I thought it might be the case that the waterfall display was changed in the SSDR client. If you adjust the gain and black level sliders in SSDR Windows, the whole waterfall changes colors, not just the new data.
So the question is, what do the TCP/IP commands:
display panafall set 0x42000000 black_level=###
display panafall set 0x42000000 color_gain=###
do to the radio, especially if both of those things are simply managed by the GUI client?
According to the FlexAPI, they change the color gain and black level.
I ran Wireshark and monitored commands between SSDR Windows and the 6700. I see SSDR issuing the commands above. I would think there would be no need to do that if the radio isn't changing the data sent to the client.
0 -
Mark, I don't believe SSDR does any color processing, other than setting and getting the gain and black levels. https://www.flexradio.com/flexlib/class_flex_1_1_smoothlake_1_1_flex_lib_1_1_waterfall.html I had issues with not understanding Threading and that some events may not occur in the same thread. Might this be part of the problem? I am not where I can look at how I fixed the problem. This was one of several things that Eric pointed out to me when I had problems with events not updating like I thought they should. Just some thoughts. James0
-
The radio simply persists the state of those values. It doesn't actually use them. There are lots of parameters that the radio persists and some of them, like these, are really only used in the client (e.g. SmartSDR)0
-
Thank you for the information. Is there a list of the parameters that are just persisted by the radio and are actually implemented by the client? IOW, is there a list of the UI features that are the responsibility of the client and not the radio? I want my client to take advantage of all the features of the radio that it can. Also, on a slightly different topic, there are events that indicate that a certain object, i.e. Radio, Panadapter, Slice, Meter has been added or removed. Is there a flow chart of how those objects are added an removed in normal and abnormal situations, so that The client can know when to create and destroy the appropriate software objects?0
-
Mark, The SmartSDR User’s Guide is the only documentation that I know of that describes the functioning of SmartSDR, i.e. the client. The API ‘s source code is the best documentation for the API, i.e. FlexLib. There are a lot of questions / answers on this board that address some of your questions. The WIKI is out of date, incomplete., and occasionally incorrect. The events that occur, their sequence and timing is a topic that I have struggled with in my own app. As far as I know, there is no documentation, other than reading the API source code, that will help you with this. I wrote an app (xAPITester) just to be able to easily observe the action of the API. A lot of what I know came from that. If you have access to a Mac, you should try it.0
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 534 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 146 SmartSDR for Maestro and M models
- 360 SmartSDR for Mac
- 249 SmartSDR for iOS
- 230 SmartSDR CAT
- 172 DAX
- 352 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 26 FLEX-8000 Signature Series
- 850 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 796 Genius Products
- 416 Power Genius XL Amplifier
- 277 Tuner Genius XL
- 103 Antenna Genius
- 243 Shack Infrastructure
- 166 Networking
- 404 Remote Operation (SmartLink)
- 130 Contesting
- 631 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 870 Third-Party Software