Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projects:carmon [2016/11/15 10:59] – [Data processor] admin | projects:carmon [2026/10/25 19:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ==== Central database and expert system ==== | ==== Central database and expert system ==== | ||
| ==== Data processor ==== | ==== Data processor ==== | ||
| - | * Get distance between DPF rejuvenations | + | == Display |
| < | < | ||
| - | $ grep CME * | cut -d ',' | + | $ grep DPFDIST |
| + | | ||
| + | $ echo "set terminal x11; set grid; plot '/ | ||
| + | </ | ||
| + | == Display Injector corrections == | ||
| + | < | ||
| + | $ grep ECU01AD * | cut -d ',' | ||
| + | gawk ' | ||
| + | {i1=strtonum(" | ||
| + | i3=strtonum(" | ||
| + | print i1-64, i2-64, i3-64, i4-64, i1+i2+i3+i4-256; | ||
| + | $ cut -d ' ' -f 1 /tmp/injraw > / | ||
| + | $ cut -d ' ' -f 2 /tmp/injraw > / | ||
| + | $ cut -d ' ' -f 3 /tmp/injraw > / | ||
| + | $ cut -d ' ' -f 4 /tmp/injraw > / | ||
| + | $ grep -v "0 0 0 0 0" /tmp/injraw | cut -d ' ' -f 5 > / | ||
| + | $ echo "set terminal x11; set grid; plot '/ | ||
| + | $ echo "set terminal x11; set grid; plot '/ | ||
| + | $ echo "set terminal x11; set grid; plot '/ | ||
| + | $ echo "set terminal x11; set grid; plot '/ | ||
| + | $ echo "set terminal x11; set grid; plot '/ | ||
| + | </ | ||
| + | == Display DPF differential pressure == | ||
| + | < | ||
| + | $ grep ECU01EF * | cut -d ',' | ||
| + | $ echo "set terminal x11; set grid; plot '/ | ||
| + | </ | ||
| + | == Detect data loss == | ||
| + | < | ||
| + | $ find ./ | sort | while read line ; do echo $line; grep ECU $line | cut -d ',' | ||
| + | gawk ' | ||
| + | {difft = ct - pt; if (difft < 0) difft += 60000; if ((difft > 30) && (difft < 500)) \ | ||
| + | print pt, | ||
| </ | </ | ||
| - | |||
