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
- 246 Community Topics
- 2.1K New Ideas
- 489 The Flea Market
- 7.1K Software
- 5.9K SmartSDR for Windows
- 134 SmartSDR for Maestro and M models
- 331 SmartSDR for Mac
- 243 SmartSDR for iOS
- 223 SmartSDR CAT
- 163 DAX
- 348 SmartSDR API
- 8.6K Radios and Accessories
- 6.9K FLEX-6000 Signature Series
- 766 Maestro
- 41 FlexControl
- 836 FLEX Series (Legacy) Radios
- 733 Genius Products
- 393 Power Genius XL Amplifier
- 255 Tuner Genius XL
- 85 Antenna Genius
- 229 Shack Infrastructure
- 153 Networking
- 370 Remote Operation (SmartLink)
- 120 Contesting
- 583 Peripherals & Station Integration
- 115 Amateur Radio Interests
- 813 Third-Party Software