Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 odometer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

carlao

54 Posts

Posted - 07 Mar 2005 :  20:06:15  Show Profile  Reply with Quote
I have an odometer application like the one in AutoInstrumentPanel example. I would like to know how to show the real value in the digital meter, that is, in odometer the needle is in mark 30 but digital meter should show 30000 once that we have RPM x 1000.
Actually both odometer and digital meter shows the same value.
Thanks.

Carlao

quinncurtis

1164 Posts

Posted - 07 Mar 2005 :  20:36:21  Show Profile  Reply with Quote
I don't exactly follow what you are describing. I think you are talking about the Tachometer (it has units of RPM), not the odometer which is a mileage indicator.

The simple approach would have to have two RTProcessVar objects. One that was updated with the raw value (30000 in yout example) and attached to an independent numeric panel meter (much like the odometer, which is not attached to a needle indicator object), and the other updated with the (raw value)/1000 , or 30 in your example, and attached to the needle. You would need to update both independently, but that is one additional line of code.

Most automotive instrument panels do it the way we do in our example, not the way you describe.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07