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.7.4 and the SmartSDR v3.7.4 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.7.4 and the SmartSDR v3.7.4 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.
TNF ObservableCollection?
Options
rfoust
Member ✭✭
I'm trying to figure out how to get the list of TNF filters using FlexLib. There doesn't appear to be a TNF ObservableCollection like there is for some of the other settings on the Radio class.
I'm bumping up against the edge of my C# knowledge here so not sure where to go from here. Any suggestions?
Thanks!
I'm bumping up against the edge of my C# knowledge here so not sure where to go from here. Any suggestions?
Thanks!
0
Answers
-
Well, isn't THAT a good question. There doesn't seem to be a way to enumerate the set of TNFs that are instantiated at any one time. Note TNFs are kept in a List, and the List is private, as is the method that enumerates TNFs FindTNFById (and note that TNF IDs can be arbitrary unsigned integers).
There IS a TNFAddedEventHander that's called whenever a TNF is added. So that'll help you know when a new TNF has been added. Likewise, there's a TMFRemovedEventHandler.
I don't see any way to do what you're asking. It's unfortunate that the list of TNFs isn't publicly enumerable.0 -
Robbie,
We talked about this and we agree that it makes sense to make the TNF List public. We'll make this change in the next public release. Thanks for finding this and bringing it to our attention.1 -
Thanks Eric!0
Leave a Comment
Categories
- All Categories
- 245 Community Topics
- 2.1K New Ideas
- 488 The Flea Market
- 7.3K Software
- 5.9K SmartSDR for Windows
- 134 SmartSDR for Maestro and M models
- 327 SmartSDR for Mac
- 241 SmartSDR for iOS
- 224 SmartSDR CAT
- 161 DAX
- 343 SmartSDR API
- 8.5K Radios and Accessories
- 6.9K FLEX-6000 Signature Series
- 768 Maestro
- 42 FlexControl
- 836 FLEX Series (Legacy) Radios
- 726 Genius Products
- 391 Power Genius XL Amplifier
- 251 Tuner Genius XL
- 84 Antenna Genius
- 221 Shack Infrastructure
- 149 Networking
- 369 Remote Operation (SmartLink)
- 118 Contesting
- 582 Peripherals & Station Integration
- 116 Amateur Radio Interests
- 810 Third-Party Software