Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc.


Reply
 
Share Thread Tools Display Modes
Old 04-13-2009, 04:39 AM   #16
Variable Bitrate
 
Join Date: Jul 2006
Location: Brisbane, Australia
Posts: 345
rodweb is an unknown quantity at this point
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?
__________________
RodW
2007 Toyota Hilux with a CarPC..

Worklog: http://www.mp3car.com/vbulletin/work...ota-hilux.html
OziExplorer GPS Embedded in RR: http://www.mp3car.com/vbulletin/sb-s...iexplorer.html
rodweb is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 04-13-2009, 08:51 AM   #17
North of the land of Hey Huns
 
malcom2073's Avatar
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,338
malcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to behold
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.
__________________
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
malcom2073 is offline   Reply With Quote
Old 04-13-2009, 03:43 PM   #18
Variable Bitrate
 
Join Date: Jul 2006
Location: Brisbane, Australia
Posts: 345
rodweb is an unknown quantity at this point
Quote: Originally Posted by malcom2073 View Post
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.
__________________
RodW
2007 Toyota Hilux with a CarPC..

Worklog: http://www.mp3car.com/vbulletin/work...ota-hilux.html
OziExplorer GPS Embedded in RR: http://www.mp3car.com/vbulletin/sb-s...iexplorer.html
rodweb is offline   Reply With Quote
Old 04-13-2009, 04:50 PM   #19
North of the land of Hey Huns
 
malcom2073's Avatar
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,338
malcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to behold
Quote: Originally Posted by rodweb View Post
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.
__________________
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
malcom2073 is offline   Reply With Quote
Old 05-02-2009, 06:10 PM   #20
Low Bitrate
 
TonyWare's Avatar
 
Join Date: Jun 2007
Location: Ottawa Canada
Posts: 70
TonyWare is infamous around these parts
Good effort! One thing, can you make the com port this is suppose to connect re-configurable in the xml file?
TonyWare is offline   Reply With Quote
Old 05-02-2009, 06:11 PM   #21
Low Bitrate
 
TonyWare's Avatar
 
Join Date: Jun 2007
Location: Ottawa Canada
Posts: 70
TonyWare is infamous around these parts
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.
TonyWare is offline   Reply With Quote
Old 05-19-2009, 01:21 PM   #22
Constant Bitrate
 
Join Date: Jan 2008
Location: Washington DC
Posts: 220
Habious is an unknown quantity at this point
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 01:26 PM. Reason: Changed some stuff
Habious is offline   Reply With Quote
Old 05-19-2009, 04:07 PM   #23
North of the land of Hey Huns
 
malcom2073's Avatar
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,338
malcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to behold
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)
__________________
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
malcom2073 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 05-19-2009, 06:30 PM   #24
Constant Bitrate
 
Join Date: Jan 2008
Location: Washington DC
Posts: 220
Habious is an unknown quantity at this point
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.
Habious is offline   Reply With Quote
Old 05-19-2009, 06:38 PM   #25
North of the land of Hey Huns
 
malcom2073's Avatar
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,338
malcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to behold
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.
__________________
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
malcom2073 is offline   Reply With Quote
Old 05-19-2009, 09:16 PM   #26
Constant Bitrate
 
Join Date: Jan 2008
Location: Washington DC
Posts: 220
Habious is an unknown quantity at this point
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.
Habious is offline   Reply With Quote
Old 05-19-2009, 09:20 PM   #27
North of the land of Hey Huns
 
malcom2073's Avatar
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,338
malcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to behold
Haha my apologies, I was in programming mode when I answered that. I'll download CF and check it out.
__________________
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
malcom2073 is offline   Reply With Quote
Old 05-19-2009, 11:31 PM   #28
Mod - OBDII GPS Logger forum
 
Join Date: Mar 2009
Location: Los Angeles
Posts: 608
chunkyks has a spectacular aura aboutchunkyks has a spectacular aura aboutchunkyks has a spectacular aura about
Heh, heh. WM_PAINT

Silly windows programmers.
chunkyks is offline   Reply With Quote
Old 05-24-2009, 03:11 PM   #29
North of the land of Hey Huns
 
malcom2073's Avatar
 
Join Date: Jun 2004
Location: Westminster, MD
Posts: 1,338
malcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to beholdmalcom2073 is a splendid one to behold
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...
__________________
Carbon - Next Generation Touchscreen Browser
Come join us on IRC: irc.efnet.net #mp3car
malcom2073 is offline   Reply With Quote
Old 05-24-2009, 03:42 PM   #30
Newbie
 
Join Date: May 2009
Posts: 1
joychung is an unknown quantity at this point
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,
joychung is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Elm327 v1.3 chip released glm Engine Management, OBD-II, Engine Diagnostics, etc. 10 10-18-2008 05:55 PM
elm 327 won't talk to PCM..........or maybe it's the other way around....... greatwhite Engine Management, OBD-II, Engine Diagnostics, etc. 1 05-12-2008 09:33 AM
My Thread Mafia - We are still alive :) kevinlekiller Off Topic 115 05-18-2007 08:29 AM
Advice for system?? sseverett Engine Management, OBD-II, Engine Diagnostics, etc. 23 01-11-2007 05:09 PM



All times are GMT -5. The time now is 09:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics