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.
API Question
Phil K9UC
Member ✭
I am working in a small application to monitor and control several parameters on my 6600M. I'm using C# and Visual Studio 2019. I've been successful in setting up event handlers to monitor property changes on the active slice and panadapter , and I have been able to control /monitor properties associated with the active slice, like selection of the TX and RX antennas, frequency, etc. My problem is in trying to get and set RFGain, which is associated with the Panadapter class of the API. My code successfully detects the change of this parameter if I change it from the front panel of the radio, but I can't figure out how to read the changed value, or change the setting myself. I've had no problem getting and setting properties in the Slice class using:
_thisRadio.ActiveSlice.RXAnt = "ANT1"; for example,
but I'm not clear how to reference the Panadapter associated with the ActiveSlice.
Most of my code is based on the example code found elsewhere in this community, but I am a rookie C#'er, so I am very likely missing something simple.
Thanks and 73,
Phil K9UC
_thisRadio.ActiveSlice.RXAnt = "ANT1"; for example,
but I'm not clear how to reference the Panadapter associated with the ActiveSlice.
Most of my code is based on the example code found elsewhere in this community, but I am a rookie C#'er, so I am very likely missing something simple.
Thanks and 73,
Phil K9UC
0
Answers
-
Hi Phll,
You should be able to reference it like this:
Radio.ActiveSlice.Panadapter
1 -
That did it. I could have sworn that I tried that combination of terms; heck, I tried about every other thing. I guess sometimes the most obvious things are the hardest to see.
Again, thanks Mark!
0 -
No worries. That is what this community is for. We help each other find the obvious sometimes!0
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 536 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 146 SmartSDR for Maestro and M models
- 360 SmartSDR for Mac
- 250 SmartSDR for iOS
- 231 SmartSDR CAT
- 172 DAX
- 353 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 30 FLEX-8000 Signature Series
- 851 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 799 Genius Products
- 417 Power Genius XL Amplifier
- 279 Tuner Genius XL
- 103 Antenna Genius
- 243 Shack Infrastructure
- 166 Networking
- 404 Remote Operation (SmartLink)
- 130 Contesting
- 632 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 873 Third-Party Software