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.23 and the SmartSDR v3.8.23 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
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.23 and the SmartSDR v3.8.23 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
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?
![rfoust](https://us.v-cdn.net/6032377/uploads/userpics/QHOTX1XZ7661/n5IJXJ7VS3TE0.jpg)
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
- 300 Community Topics
- 2.1K New Ideas
- 553 The Flea Market
- 7.6K Software
- 6.1K SmartSDR for Windows
- 149 SmartSDR for Maestro and M models
- 378 SmartSDR for Mac
- 253 SmartSDR for iOS
- 239 SmartSDR CAT
- 176 DAX
- 361 SmartSDR API
- 8.9K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 69 FLEX-8000 Signature Series
- 874 Maestro
- 46 FlexControl
- 849 FLEX Series (Legacy) Radios
- 820 Genius Products
- 427 Power Genius XL Amplifier
- 286 Tuner Genius XL
- 107 Antenna Genius
- 255 Shack Infrastructure
- 176 Networking
- 414 Remote Operation (SmartLink)
- 131 Contesting
- 666 Peripherals & Station Integration
- 128 Amateur Radio Interests
- 897 Third-Party Software