View Single Post
Old 09-16-2004, 08:40 AM   #50
god_of_cpu
Raw Wave
 
god_of_cpu's Avatar
 
Join Date: Jan 2004
Location: SilverSpring Maryland
Vehicle: 2003/Infiniti/G35 Sport Coupe
Posts: 2,957
My Photos: ()
I didn't have time to explain it last night, but I also added a Mode1_Pause and Mode1_IsPaused functions that are actually redundant to the Mode1_Start and Mode1_Stop functions, however, the Mode1_Pause function simply pauses the thread so you can modify the PID list and not incur the penalty of killing and recreating the thread with start and stop. The only time it is useful is when you need to change the PIDs your monitoring. i.e. if you offered an option to graph any PID value, when the user wanted to see a different PID you would simply pause, remove the current and add the new PID then unpause it.

This is now demonstrated in the OBDII Tester program included with the SDK.
__________________
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
Sponsored Links