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.
Microphone gain question
Gary L. Robinson
Member ✭✭
Having tons of fun with programming with the FlexLib API but ran in to a small snag. I have made myself an addon program **** that has numerous things on it. That way I can get to the most used items I want without having to hunt in menus or expand the program so I can see all the setting in the side panels. It makes it easier to use remotely on my 11.6" windows laptop.
All in all I have been real successful but I ran into a small problem with the Mic gain. Easy to set the mic gain BUT I want MY mic gain control to be updated IF I use the built in mic gain control on the P/CW side panel in SmartSDR. I can update my gain control when the program starts by just doing it in the AddNewSlice event. But is there an event handler to monitor the Mic gain control on the P/CW panel when it makes a change. Or an event handler that will tell me when the mic gain changes regardless of how?
---Gary WB8ROL
All in all I have been real successful but I ran into a small problem with the Mic gain. Easy to set the mic gain BUT I want MY mic gain control to be updated IF I use the built in mic gain control on the P/CW side panel in SmartSDR. I can update my gain control when the program starts by just doing it in the AddNewSlice event. But is there an event handler to monitor the Mic gain control on the P/CW panel when it makes a change. Or an event handler that will tell me when the mic gain changes regardless of how?
---Gary WB8ROL
0
Answers
-
Hook the Radio object's PropertyChanged event. There will be a property change event named "MicLevel" when the level is changed. Remember this event may occur on a background thread.
0 -
Thanks Mark! That's exactly what I needed. I looked through the flexlib documentation but missed the PropertyChanged event in the Radio object.0
-
For the archives:
The beauty of Flex providing us the source code for FlexLib is that it's quite easy to look up such things.
It's very interesting to look at all the properties about which you can receive change notifications: Just search the sources for "RaisePropertyChanged" -- Similarly, if there's a property that you know you can read (as with "myValue = _radio.MicLevel" for example) you can search to see if there's a PropertyChanged event associated with this by searching for the property name in quotes (or, if you want to be really specific, searching for 'RaisePropertyChanged("<property-name>")' where <property-name> is the name of the property such as "MicLevel".
It's a wonderful thing, the gift of source code.
Peter
K1PGV1 -
Yes, you are right about the source code!! I had been scouring the Wiki FlexLib documentation and it's not quite as searchable as the source code hihi I have been writing my own custom version of PowerSDR for years (until I got my Flex 6300) but doing an add-on client is a bit different and taking a little time to get adjusted to it.
But it is exciting! And in many ways much more efficacious to make add-on clients.
My little add-on utility bar is perking along and doing great - especially for "easy chair" remote operation on 11.6" laptop screen which has limited screen space.
---Gary WB8ROL
1
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 535 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
- 231 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