View Single Post
Old 09-20-2004, 02:28 PM   #63
god_of_cpu
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Posts: 2,957
Yes actually, while debugging on the weekend I discovered that the SetTimeout function was actually never working. It turns out ELM made a second version of the chip and only this second version has the function enabled, which they just plain don't mention in thier documentation. I have the first version, but I just ordered the second version this weekend so I can test with it. Using the settimeout function it should be possible to change the amount of time the ELM waits before sending another command. This should make it possible to get updates closer to 10 times a second depending on your car's OBD II hardware. The timeout will be controlled by the configuration dialog in the plugin.

I also discovered that if your car uses the PWM protocol, it should be possible to get updates as good as 40 hz, however, not with the ELM, which tops out at 10 hz. Check out http://www.obd-2.com/ for more info.
__________________
StreetDeck.com Developer (I am Chuck)
Get StreetDeck at http://www.streetdeck.com
The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.
god_of_cpu is offline   Reply With Quote