Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
09-02-2007, 03:47 AM
|
#1
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,042
|
Fusion Brain Data Logging
I am redoing the part of the application that datalogs. It will be spiffy when done.
My question though is what do you want to be able to log? Obviously the time the data was taken, and the value for each sensor, but anything else?
|
|
|
09-02-2007, 10:46 AM
|
#2
|
|
Maximum Bitrate
Join Date: Jan 2007
Location: Fort Riley KS
Vehicle: 91 CRX Si
Posts: 514
|
Is there really anything else to log? 
|
|
|
09-02-2007, 11:13 AM
|
#3
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,042
|
Quote: Originally Posted by inh 
Is there really anything else to log? 
I don't believe so... But wanted to get opinions.
Perhaps the minimum, maximum, and average values or something would be useful. Im just throwing out ideas here. 
|
|
|
09-02-2007, 02:38 PM
|
#4
|
|
Raw Wave
Join Date: Aug 2004
Location: Chicago area,IL
Vehicle: 01 Ford ZX3
Posts: 2,131
|
Yea, it's ususally easier or better to add everything while your doing a section/function than it is to go back and add it latter...
Besides all the sensor value's, min, max, and avg, I think that should cover just about everything...
|
|
|
09-04-2007, 04:20 AM
|
#5
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,042
|
Teaser picture

|
|
|
09-04-2007, 04:24 AM
|
#6
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,042
|
It is not done yet. I would say 50% functional. But the main stuff is there. Obviously the dates are incorrect.  as they were just random testing numbers.
Logs will now be stored in *.xml format and easily readable in Flash, through a *.xsl guide, or any webpage. Say hello to remote logging.
Unfortuneatly, because of the way FF reads xml files, I have not been able to get it to work. I need to remove all the whitespace in the xml i believe, but for now, it is all done through ActiveX. The sucky part of this, is that ActiveX is only available on Microsoft Internet Explorer. Not FF. So as of now this does not work in FF, but as it is my browser of choice, I will eventually get it to work. I have never worked with xml reading before. Also it is all javascript run so you need java. Since I think it is a good assumption most of your PCs dont run php/mysql servers locally, I had to do it all "client" side which means javascript.
I have a few more ideas up my sleeve... Stay tuned.
Opinions and criticism welcome.
Last edited by 2k1Toaster : 09-04-2007 at 04:27 AM.
|
|
|
09-04-2007, 04:29 AM
|
#7
|
|
Maximum Bitrate
Join Date: Jan 2007
Location: Fort Riley KS
Vehicle: 91 CRX Si
Posts: 514
|
Sounds cool, looks cooler =]
I was just thinking, exporting to .csv would be nice too so users could play with the numbers manually in excel or something =]
|
|
|
09-04-2007, 04:38 AM
|
#8
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,042
|
Quote: Originally Posted by inh 
Sounds cool, looks cooler =]
I was just thinking, exporting to .csv would be nice too so users could play with the numbers manually in excel or something =]
Well the reason for xml was that I thought all Office products can read xmls quite readily as well as pretty much anything nowadays...
ill think about adding in a comma seperated output file. The thing is, the more read/write cycles to the harddrive, the more time per iteration, more cpu cycles, slower. Now I am not worried for any of my machines, but I am not too sure about how much a m10k can handle.
Well anyways, I'm off to bed.
Keep the suggestions rollin'! 
|
|
|
09-04-2007, 04:41 AM
|
#9
|
|
Maximum Bitrate
Join Date: Jan 2007
Location: Fort Riley KS
Vehicle: 91 CRX Si
Posts: 514
|
Add an option to either output csv or xml, or an option to spit out csv values from the xml after the fact with a lil button, so only those people that want it can use it =] Of course, make a way to spit it out without having to press it, via a window message command or something, in case we wanna automate it 
|
|
|
09-04-2007, 11:42 AM
|
#10
|
|
Constant Bitrate
Join Date: Aug 2006
Location: Central PA
Vehicle: 2001 Chevy Camaro SS
Posts: 183
|
Quote: Originally Posted by 2k1Toaster 
Teaser picture 
Seriously, that is amazing. Great job on the progress so far! I really like the way thing are laid out along with the color selection.
|
|
|
09-04-2007, 12:53 PM
|
#11
|
|
Raw Wave
Join Date: Aug 2004
Location: Chicago area,IL
Vehicle: 01 Ford ZX3
Posts: 2,131
|
|
|
|
09-04-2007, 01:40 PM
|
#12
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,042
|
Quote: Originally Posted by inh 
Add an option to either output csv or xml, or an option to spit out csv values from the xml after the fact with a lil button, so only those people that want it can use it =] Of course, make a way to spit it out without having to press it, via a window message command or something, in case we wanna automate it 
Alright, I am convinced. I will output a comma list too.
What format do you want since you are the suggestor!
perhaps " sensor,port,vidpid,yyyymmdd,hh:mm:ss:uu,raw,evalua ted"
so for the first data bit in the pic above, it would be "Ultrasonic Sensor,0,0,20071225,16:30:30:500,3.456,10.65". Good enough?
|
|
|
09-04-2007, 01:42 PM
|
#13
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,042
|
Quote: Originally Posted by scotty562 
Seriously, that is amazing. Great job on the progress so far! I really like the way thing are laid out along with the color selection.
Quote: Originally Posted by Blue ZX3 
Thankyou. It has taken a while to get it looking ok. I still have some missing things like on the left of the tables, that is all 1 image being tiled... well I forgot to colour the left side of it all the way, so it is still photoshop-default white.  It will be fixed.
This also means if you dont like the colours, you can just change the pictures and it will change in the display.
|
|
|
09-05-2007, 12:11 PM
|
#14
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,042
|
Teaser deux:
(Again les values are not correct, they were a quick copy/paste into an XML to test  )

|
|
|
09-05-2007, 12:14 PM
|
#15
|
|
Fusion Brain Creator
Join Date: Mar 2006
Location: Colorado, but Canadian!
Vehicle: 2001 Honda Civic EX Coupe
Posts: 7,042
|
I would appreciate any suggestions on anything from content to colour scheme. Critisisms or new ideas also appreciated.
I think I may be getting a little carried away like this, but once I get started on an idea, I tend to wander on design and then "just a little change" in the layout and I lose 4 hours to tweaking it to look perfect.  Its a curse! I hope it is worth it though...
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| 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 11:38 AM.
|
|