07-21-2011 04:04 AM
does anyone tryed to implement mvc to a simple example ?
Regards
Tinnitus
07-21-2011 06:26 AM
Tinnitus,
I am aware of an implementation of Model-View-Controller architecture in LabVIEW, but it is wasn't 'simple'. It adopted classes and data-value-references to optimise memory management whilst maintaining thread safety. I'm not aware of a simple example anywhere. The architecture concept requires independency of threads with inter-communication, and is by definition unfortunately not 'simple'.
I've tried searching the NI pages for an example design pattern but not found one
07-21-2011 06:53 AM
You are right
using simple I would like to say confined to the minimum
i'm familiar with classes, value references and thread communcation
each paradigm could be a step a first sight but the effort is rewarded afterward
but it seems to be hard to find starting elements on mvc with labview
I just come to discover mvc architecture, the theorie look nice but i'm not sure
to understand enough to applicate , that why i'm looking for examples
may be have you link to a good tutorial ( not lined to a specific language) that could help me to start with labview
Regards
Tinnitus
07-21-2011 07:46 AM
I'm glad you feel confident with classes and DVRs. Unfortunately I don't know of any link to a useful tutorial on this.
If you search around for thread communications that use User Events you should be able to find what you need to set up an MVC design in LabVIEW.
Best of luck!