VW Vortex - Volkswagen Forum banner

Bored with php: Block 120 web-based graphing from a csv format file.

744 Views 9 Replies 5 Participants Last post by  Srexy
I was too lazy to install microsoft excel..

basically upload your block 120 csv file with a single run (from 800rpm->7000rpm) and it makes an image..
http://secure2.scannerx.com/graph/Examples/ex4.html



[Modified by mrkrad, 9:25 PM 2-6-2002]
See less See more
1 - 10 of 10 Posts
2
Re: Bored with php: Block 120 web-based graphing from a csv format file. (mrkrad)

Sweet. Now we need one to interpolate data from multiple runs to the same RPM values for the X-axis, and overlay the plots. If you can do that, you get mucho
and http://****************.com/smile/emthup.gif
See less See more
Re: Bored with php: Block 120 web-based graphing from a csv format file. (dbrowne1)

http://secure2.scannerx.com/graph/Examples/ex5.html
^^ This version will eat a long CSV file. It will detect segments (up to 9) by looking for a space of 2-3 seconds of (0) load (ie off the gas pedal) and create a new sequence plot. In theory you could gas it to redline, let off for a few seconds, and repeat up to 9 times (either in the same gear or different). Not sure how much use that is, but i think thats somewhat like what you were talking about.
ciao. Have to get back to my day job now. If anyone wants the source code to putz with let me know..
Re: Bored with php: Block 120 web-based graphing from a csv format file. (mrkrad)

Did you see my gnuplot 120block graph. It's a very cool program with a small footprint.
http://forums.vwvortex.com/zerothread?id=237549
Re: Bored with php: Block 120 web-based graphing from a csv format file. (TurboZen)

This is crank hp right?
Re: Bored with php: Block 120 web-based graphing from a csv format file. (Srexy)

I'm not sure what the hell block 120 derives its info from..
But if you want, i can draw two more lines to add a correction factor. Btw, that was a pic of a 1st gear run in my car i believe.
Re: Bored with php: Block 120 web-based graphing from a csv format file. (Srexy)

Ok - call me a dunce but what do you need to edit out - everything except rpm and load, is the time stamp necessary? Clue me in pls
Re: Bored with php: Block 120 web-based graphing from a csv format file. (Srexy)

This weblet will parse out the headers. Ideally you want to shove a single run down the throat of the program, but it will parse a complete raw csv file if you are lazy ignoring other data points.. Hell you can leave the headers up top in too it will ignore them.. Here's an example. I changed the output to PNG format to be more politically correct.
,0.00,800,397.9,0.0,ASR OFF,,,,,,,,,,
,0.40,800,397.9,0.0,ASR OFF,,,,,,,,,,
,0.81,800,397.9,0.0,ASR OFF,,,,,,,,,,
,1.20,800,397.9,2.0,ASR OFF,,,,,,,,,,
,1.71,800,397.9,3.9,ASR OFF,,,,,,,,,,
,2.11,840,397.9,31.4,ASR OFF,,,,,,,,,,
,2.51,1400,397.9,31.4,ASR OFF,,,,,,,,,,
,2.92,1360,397.9,39.2,ASR OFF,,,,,,,,,,
,3.32,1480,397.9,68.6,ASR OFF,,,,,,,,,,
,3.72,1440,397.9,98.0,ASR OFF,,,,,,,,,,
,4.12,2040,397.9,143.1,ASR OFF,,,,,,,,,,
,4.53,2680,397.9,180.3,ASR OFF,,,,,,,,,,
,4.93,3480,397.9,264.6,ASR OFF,,,,,,,,,,
,5.33,4560,397.9,296.0,ASR OFF,,,,,,,,,,
,5.74,5600,397.9,260.7,ASR OFF,,,,,,,,,,
,6.15,6320,397.9,47.0,ASR OFF,,,,,,,,,,
equals...



[Modified by mrkrad, 8:57 AM 2-7-2002]
See less See more
Re: Bored with php: Block 120 web-based graphing from a csv format file. (mrkrad)

mkrad interesting way to use gd and php http://****************.com/smile/emthup.gif
See less See more
Re: Bored with php: Block 120 web-based graphing from a csv format file. (flipp)

thanks - works well!
1 - 10 of 10 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top