Re: Configuation screen
- From: r_z_aret@xxxxxxxxxxxx
- Date: Wed, 10 Oct 2007 11:45:07 -0400
On Tue, 9 Oct 2007 12:28:01 -0700, wceess
<wceess@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi all,
I have a Windows CE application that collects data from various sensor on
CAN, process and display them graphically. I am asked to develop a
configuration screen such that my application can run on different types of
machines, ie the number of sensors can be different on each machine type, the
data processing can be different and display. So i need a configuration
screen where a user can specify which type of vehicle he is in and that
should decide the no of sensors, algorithm and display that my application
should run.
This suggests you have a specific number of vehicle types, and want to
use the same set of sensors for each vehicle type. How about:
1) Create a read-only data file that specifies the sensors for each
vehicle type.
2) Have your program read that file and display the list of vehicle
types it found in the file.
3) Let the user choose the vehicle type. You can store the setting
somewhere so the user doesn't need to choose every time. I strongly
favor simple files rather than registry (avoid using shared resources
like the registry unless necessary).
4) Develop a custom control (UI widget) for each sensor type.
4) Dynamically add appropriate controls according to the specified
vehicle type. For straight Win32, this would mean using CreateWindow.
If you create a robust set of widgets and are a bit lucky, you can
expand the list of supported vehicles by editing the data file, with
no need to update the program.
Does this program need to display the readings continuously, or just
take a measurement from each sensor? If you need to display more than
1 or 2 readings continuously, the UI will be tricky. If you just need
to take single readings, I would take a very different approach.
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.
- Follow-Ups:
- Re: Configuation screen
- From: wceess
- Re: Configuation screen
- Prev by Date: Re: Differences in Windows Mobile 5.0 And Windows CE 5.0
- Next by Date: Re: CE 5.0 to 6.0 Driver Migration
- Previous by thread: Re: Configuation screen
- Next by thread: Re: Configuation screen
- Index(es):
Relevant Pages
|