Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
If you are having a problem, please 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.
Need the latest SmartSDR and Power Genius Software?
SmartSDR v3.2.31 and the SmartSDR v3.2.31 Release Notes. | SmartSDR v2.6.2 and the SmartSDR v2.6.2 Release Notes.
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes. | Power Genius XL Firmware v3.5.23. | Power Genius XL Utility v2.2.10.
SmartSDR v3.2.31 and the SmartSDR v3.2.31 Release Notes. | SmartSDR v2.6.2 and the SmartSDR v2.6.2 Release Notes.
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes. | Power Genius XL Firmware v3.5.23. | Power Genius XL Utility v2.2.10.
Model view, Viewmodel
James Whiteway
Member
I think understanding (or the lack of) MVVM just may be the root of my issues in trying to create a panadapter/panafall. I have been reading quite a bit today about using the design pattern of MVVM with WPF and Silverlight. And given that it appears that Flexlib and it's associated dll's are created with that pattern in mind,(along with the SSDR GUI) it would seem to me, that it would be difficult to work properly with the Events raised by Flexlib, (such as the Panadapter.OnDataReady event) without using the same pattern in my application. I have been able to attach to several events, including those of the S Meter, but, it seems that going beyond that to get other constantly changing events, would, or could, create a Race Condition that blocks out one or more events from showing up when I subscribe to them.
I think I'm out of my depth with MVVM. So, I'll continue to mess with it once in a while. But, until I can either learn how to properly use MVVM or find another method to get the data flowing, I won't stress over it so much!
Thanks to everyone who has offered me advice on several things concerning the Flexlib api and how to go about using it. It is appreciated.
james
WD5GWY
I think I'm out of my depth with MVVM. So, I'll continue to mess with it once in a while. But, until I can either learn how to properly use MVVM or find another method to get the data flowing, I won't stress over it so much!
Thanks to everyone who has offered me advice on several things concerning the Flexlib api and how to go about using it. It is appreciated.
james
WD5GWY
0
Answers
-
We do indeed use the MVVM approach in FlexLib. Having an understanding of that design pattern will likely help to understand the flow. In SmartSDR, we have View (GUI pieces) and ViewModel classes and consider the FlexLib classes to be the Model.0
Leave a Comment
Howdy, Stranger!
Categories
- 16.2K All Categories
- 72 Community Topics
- 1.9K New Ideas
- 150 The Flea Market
- 5.5K Software
- 5K SmartSDR for Windows
- 45 SmartSDR for Maestro and M models
- 109 SmartSDR for Mac
- 149 SmartSDR for iOS
- 151 SmartSDR CAT
- 73 DAX
- 280 SmartSDR API
- 7.2K Radios and Accessories
- 5.9K FLEX-6000 Signature Series
- 573 Maestro
- 15 FlexControl
- 738 FLEX Series (Legacy) Radios
- 178 Power Genius Products
- 134 Power Genius XL Amplifier
- 15 Power Genius Utility
- 29 Tuner Genius
- 48 Shack Infrastructure
- 26 Networking
- 104 Remote Operation (SmartLink)
- 54 Contesting
- 156 Peripherals & Station Integration
- 64 Amateur Radio Interests
- 434 Third-Party Software