Welcome to the FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
The latest SmartSDR Software:
SmartSDR v4.2.18 | SmartSDR v4.2.18 Release Notes
SmartSDR v3.10.15 | SmartSDR v3.10.15 Release Notes
The latest 4O3A Genius Product Software:
The latest 4O3A Genius Product Software and Firmware
SmartSDR v4.2.18 | SmartSDR v4.2.18 Release Notes
SmartSDR v3.10.15 | SmartSDR v3.10.15 Release Notes
The latest 4O3A Genius Product Software:
The latest 4O3A Genius Product Software and Firmware
How to Receive Technical Support::
If you are needing assistance with FlexRadio products, 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.
If you are needing assistance with FlexRadio products, 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.
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
- 391 Community Topics
- 2.2K New Ideas
- 665 The Flea Market
- 8.5K Software
- 167 SmartSDR+
- 6.5K SmartSDR for Windows
- 190 SmartSDR for Maestro and M models
- 446 SmartSDR for Mac
- 275 SmartSDR for iOS
- 265 SmartSDR CAT
- 208 DAX
- 387 SmartSDR API
- 9.5K Radios and Accessories
- 65 Aurora
- 306 FLEX-8000 Signature Series
- 7.2K FLEX-6000 Signature Series
- 978 Maestro
- 58 FlexControl
- 868 FLEX Series (Legacy) Radios
- 951 Genius Products
- 474 Power Genius XL Amplifier
- 348 Tuner Genius XL
- 129 Antenna Genius
- 309 Shack Infrastructure
- 216 Networking
- 472 Remote Operation (SmartLink)
- 143 Contesting
- 828 Peripherals & Station Integration
- 145 Amateur Radio Interests
- 1.1K Third-Party Software
