Click here to Skip to main content
12,817,318 members (34,161 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# .NET WPF MVVM
Hi Folks ,
I need to build an application using which reads data from hardware continously and updates the same in the User Interface.
I need some inputs on how to architect such application

I have this AutoDriver(.NET Wrapper) which has API to read data
Im planning to use MVVM framework.Is it a good idea to use MVVM for such applications?
Do I need to write a service to read the data ??

Please advice me on how to handle such applications.
Posted 1-Dec-12 0:38am
Programm3r 3-Dec-12 8:47am
Hi - yes I would say using MVVM is a good idea. Secondly, I see no need to write a service to read the data from the hardware. Why not write a layer between your View Model and the hardware. This way you ViewModel could listen for data and push it (thought the binding framework) to your View.
rajeshlokayata 4-Dec-12 12:35pm
Hi Thanks for the inputs given.
I have to load the application after boot-up it is kiosk kinda application.So i will be loading the view .But how to invoke the layer (between your View Model and the hardware as suggested by you.
Im sorry my question might sound stupid but it is my first undertaking such applications.
Any help regarding this would be of great help again.
Programm3r 5-Dec-12 0:42am
So .... this application has no user input? Because it sounds like it should run without any user input. If this is the case, then I have totally misunderstood your question. Secondly, if no user input is required and it should start-up 'on its own', then MVVM won't be the way to go - I would create a windows service for that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 1 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100