Thanks for this patch. I may apply it Saturday.<br><br>By the way, I have made an adjustment from using Mac / Macbook Pro to a netbook because a) macs shut down when you close the lid and b) damn do they get hot on your lap.<br>
<br>A plug sounds great but I'm running out of time.<br><br>I bet you could get quite a lot of generalization done by switching to -- ahem -- Java.<br><br>But I think in the end, I'll dump the visualizations, and merely move to headless logging. I can always make sure it's logging just by watching the OBDProLogger's flashing lights.<br>
<br>-Rob<br><br><div class="gmail_quote">On Wed, Jul 14, 2010 at 5:44 PM, Gary Briggs <span dir="ltr"><<a href="mailto:chunky@icculus.org">chunky@icculus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Wed, Jul 14, 2010 at 04:22:00PM -0400, Robert Konigsberg wrote:<br>
> BTW I have updated the GUI, and I'm sure I updated it appropriately, to show<br>
> more columns. I just need to get that data from somewhere, and now that<br>
> somewhere is probably just my car. I'll have to test it later tonight.<br>
<br>
</div>This diff should make cycle report values for PIDs up to 0x59 [although it will<br>
probably return NO DATA for the top few, since I haven't filled the info<br>
on those PIDs yet]<br>
<br>
Gary<br>
<br>
Index: src/sim/generators/cycle/gen_cycle.c<br>
===================================================================<br>
--- src/sim/generators/cycle/gen_cycle.c (revision 488)<br>
+++ src/sim/generators/cycle/gen_cycle.c (working copy)<br>
@@ -95,15 +95,15 @@<br>
<br>
struct cycle_gen *g = (struct cycle_gen *)gen;<br>
<br>
- if(0x00 == PID) {<br>
+ if(0x00 == PID || 0x20 == PID || 0x40 == PID) {<br>
*A = 0xFF;<br>
*B = 0xFF;<br>
*C = 0xFF;<br>
- *D = 0xFE;<br>
+ *D = 0x40==PID?0xFE:0xFF;<br>
return 4;<br>
}<br>
<br>
- if(0x20 <= PID) return 0;<br>
+ if(0x60 <= PID) return 0;<br>
<br>
struct timeval newtime;<br>
gettimeofday(&newtime, NULL);<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
obdgpslogger mailing list<br>
<a href="mailto:obdgpslogger@icculus.org">obdgpslogger@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/obdgpslogger" target="_blank">http://icculus.org/mailman/listinfo/obdgpslogger</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Robert Konigsberg<br><a href="mailto:konigsberg@gmail.com">konigsberg@gmail.com</a><br>