|
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.
|