Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Comments
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.
explorerC 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900