|
 |
|
04-13-2009, 05:39 AM
|
#16
|
|
Variable Bitrate
Join Date: Jul 2006
Location: Brisbane, Australia
Posts: 344
|
Just found this thread. Looks interesting. I am about to order an OBDII interface so will give it a go later.
In relation to Baud rates, maybe you could just add a new XML tag so this;
<gauges count="5" xpos="0" ypos="0" width="800" height="600" bgcolor="200:200:200" comport="COM6">
looks something like:
<gauges count="5" xpos="0" ypos="0" width="800" height="600" bgcolor="200:200:200" comport="COM6" baud="38400">
I would not have thought that changing the baud rate was too hard, copy it to a global variable and use this variable when you open the comm port. What language are you programming this in?
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
04-13-2009, 09:51 AM
|
#17
|
|
North of the land of Hey Huns
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
|
It wouldn't be too difficult. The main program is written in c# and the odb library in c++. In the next release or two I will be adding that.
__________________
RevFE - Try it, you just might like it.
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
Audiophiles make me chuckle as they pad my wallet.
|
|
|
04-13-2009, 04:43 PM
|
#18
|
|
Variable Bitrate
Join Date: Jul 2006
Location: Brisbane, Australia
Posts: 344
|
Quote: Originally Posted by malcom2073 
It wouldn't be too difficult. The main program is written in c# and the odb library in c++. In the next release or two I will be adding that.
Cool, then I will be able to help you then. I know C and some of the newer flavours quite well, it is all the mucking about with the Windows API that I struggle with. I have Visual Studio 2003 here at home. I Gave up on Basic 25 years ago so never got into VB.
|
|
|
04-13-2009, 05:50 PM
|
#19
|
|
North of the land of Hey Huns
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
|
Quote: Originally Posted by rodweb 
Cool, then I will be able to help you then. I know C and some of the newer flavours quite well, it is all the mucking about with the Windows API that I struggle with. I have Visual Studio 2003 here at home. I Gave up on Basic 25 years ago so never got into VB.
I appreciate the offer but the program is not open source.
__________________
RevFE - Try it, you just might like it.
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
Audiophiles make me chuckle as they pad my wallet.
|
|
|
05-02-2009, 07:10 PM
|
#20
|
|
Low Bitrate
Join Date: Jun 2007
Location: Ottawa Canada
Posts: 67
|
Good effort! One thing, can you make the com port this is suppose to connect re-configurable in the xml file?
|
|
|
05-02-2009, 07:11 PM
|
#21
|
|
Low Bitrate
Join Date: Jun 2007
Location: Ottawa Canada
Posts: 67
|
Good effort! One thing, can you make the com port this is suppose to connect re-configurable in the xml file?
edit: ooops, sorry, missed that it was there. good effort anyways.
|
|
|
05-19-2009, 02:21 PM
|
#22
|
|
Constant Bitrate
Join Date: Jan 2008
Location: Washington DC
Posts: 188
|
Malcolm,
Wow, this looks great!
You tried to work with me a while ago on an OBD-II plug-in for CF...and I totally dropped the ball on it. For that, I apologize. I've been so frustrated with my CarPC that I gave up on getting it to do anything but the basics...and it wouldn't always pull that off. I finally got my major USB issues worked out and it's become usable...what I initially wanted it to be.
This new version looks very nice! I'm going to try to embed it in CF. I should be able to do that as an external application.
I have a few quick questions about the skin.xml.
- The Properties type="dial"...are there other options other than "dial"?
- The "warning" and "danger" values...is that just the color-change (yellow, then red) or does exceeding these values cause an audible warning (I'm not asking because I want audible...I don't)? (EDIT: I just reread your release notes and saw where you talked about this in the v0.2 release...nevermind!)
- The "Rev="0""...any chance that causes the gauge to run in reverse (counter-clockwise)? If it doesn't a) what does it do and b) is there a way to make a gauge run counter-clockwise?
- Is there any way to make one or more of the gauges a half/partial-circle?
__________________
2003 Lexus SC430 - Black with Ecru. VaisTech & NavTool with Centrafuse integrated into factory nav screen (hands-free Bluetooth, Voice Command, mp3's, videos, HD Radio, Sirius Sat. radio, DVD, Internet, & digital gauges (via OBD-II)), & LuxLink module.
Last edited by Habious; 05-19-2009 at 02:26 PM.
Reason: Changed some stuff
|
|
|
05-19-2009, 05:07 PM
|
#23
|
|
North of the land of Hey Huns
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
|
Hey Habious, I figured life/carpc problems had gotten in the way, I kinda lost interest in CF anyway (Check out my sig, I made my own frontend).
To answer your questions:
- Yes, there are other types, they are still in development.
- Yes, this is just a color change, if audable warning is wanted, that can be a skin option
- Yes, gauges can run in reverse. Try it
- Setting start and end angles to say, 0 and 180, would be a half circle. 90 and 270, 180 and 315, etc would have the same effect. combine with rev=1 for some awesome fun.
On another note, if you're going to be embedding it, I can make an option to remove the titlebar from the window (to make for a cleaner embed)
__________________
RevFE - Try it, you just might like it.
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
Audiophiles make me chuckle as they pad my wallet.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
05-19-2009, 07:30 PM
|
#24
|
|
Constant Bitrate
Join Date: Jan 2008
Location: Washington DC
Posts: 188
|
OK, I'm playing...and I'm doing some things wrong, obviously.
When I try to embed it in CF...I get this lovely sight....
The real gauges will flash on the screen for a second, only to be replaced with the above.
When playing with it outside of CF, it displays fine. However, when I try to change "Rev="1"...nothing happens. See example below...
And, I can't seem to figure out how to make a half-circle. All I get is a full circle...with numbers on half the dial.
But...wow...I can see the potential here
__________________
2003 Lexus SC430 - Black with Ecru. VaisTech & NavTool with Centrafuse integrated into factory nav screen (hands-free Bluetooth, Voice Command, mp3's, videos, HD Radio, Sirius Sat. radio, DVD, Internet, & digital gauges (via OBD-II)), & LuxLink module.
|
|
|
05-19-2009, 07:38 PM
|
#25
|
|
North of the land of Hey Huns
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
|
Haha, oops sorry. Yeah the background doesn't draw half circle, I can add that in on the next release though.
I may not have implemented rev yet... I thought I did. could be wrong. As for the CF issue... how did you embed it? via SetParent? The way it's coded, it draws the gauges on a onPaint event. I'll bet something in how CF embeds windows doesn't allow it to repaint itself perhaps? can you send a WM_PAINT message to the window every half second or something see if that helps? I'll have to download the trial of CF again and check this out.
__________________
RevFE - Try it, you just might like it.
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
Audiophiles make me chuckle as they pad my wallet.
|
|
|
05-19-2009, 10:16 PM
|
#26
|
|
Constant Bitrate
Join Date: Jan 2008
Location: Washington DC
Posts: 188
|
SetParent? WM_PAINT message? Who do you think you're talking to? An intelligent person!?
I honestly don't know what either of those mean!
I just tried to launch it as an "application" bit hitting the big "+" sign on the settings menu.
__________________
2003 Lexus SC430 - Black with Ecru. VaisTech & NavTool with Centrafuse integrated into factory nav screen (hands-free Bluetooth, Voice Command, mp3's, videos, HD Radio, Sirius Sat. radio, DVD, Internet, & digital gauges (via OBD-II)), & LuxLink module.
|
|
|
05-19-2009, 10:20 PM
|
#27
|
|
North of the land of Hey Huns
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
|
Haha my apologies, I was in programming mode when I answered that. I'll download CF and check it out.
__________________
RevFE - Try it, you just might like it.
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
Audiophiles make me chuckle as they pad my wallet.
|
|
|
05-20-2009, 12:31 AM
|
#28
|
|
Mod - OBDII GPS Logger forum
Join Date: Mar 2009
Location: Los Angeles
Posts: 401
|
Heh, heh. WM_PAINT
Silly windows programmers.
|
|
|
05-24-2009, 04:11 PM
|
#29
|
|
North of the land of Hey Huns
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,038
|
Odd, I just tried and it loads the program and runs just fine, but it doesn't embed it.
Edit: nevermind it works fine for me, and embeds properly...
__________________
RevFE - Try it, you just might like it.
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
Audiophiles make me chuckle as they pad my wallet.
|
|
|
05-24-2009, 04:42 PM
|
#30
|
|
Newbie
Join Date: May 2009
Posts: 1
|
Hi malcom2073,
I just try your program and it's good! Few question if you don't mind:
1- the MAF pid is 0110 on wikipedia and it's 0111 in your skin.xml. which one is true?
2- the Temp in your program is in F or in Celcius?
3- How can I convert MPG to KMPL (Kilometer Per Liter)?
I'm in Canada so the KM/H and Celcius is familiar with me than MPH and F.
When I exit the program I receive the message "Method not found: 'System.GCNotificationStatus System.GC.WaitForFullGCComplete()'.".
Thanks,
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:09 PM.
| |