Re: Configuation screen



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
.



Relevant Pages

  • Re: Configuation screen
    ... a particular value in registry and kill this process and boot my main ... process and display them graphically. ... machines, ie the number of sensors can be different on each machine type, the ... use the same set of sensors for each vehicle type. ...
    (microsoft.public.windowsce.embedded)
  • Re: Configuation screen
    ... a particular value in registry and kill this process and boot my main ... process and display them graphically. ... machines, ie the number of sensors can be different on each machine type, the ... use the same set of sensors for each vehicle type. ...
    (microsoft.public.windowsce.embedded)
  • Re: Generator of vibration
    ... I'd like to know if exists a device that produces mechanical vibrations of low intensity, where I can exactly set and display the working frequency, from 50 to 15000hz. ... How are the sensors mounted to the device under test? ... and then he burned out the driver trying to get a measurable signal. ...
    (sci.physics)
  • Transformation problems, please look into my vi
    ... The sensor will give the data of Fx, Fy and Fz, and i would like to display the resultant of the forces into a 3D display. ... I formed two arrows to represent the resultant of the force working on the sensors. ... So in my case i already have the arrow originally faced into a certain axis. ...
    (comp.lang.labview)