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 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.

Model view, Viewmodel

James Whiteway
edited February 2017 in SmartSDR API
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
  

Answers

  • Eric-KE5DTO
    Eric-KE5DTO Administrator, FlexRadio Employee admin
    edited February 2017
    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.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.