OBDII Polling Timer

For general discussion related FlowStone
Post Reply
acg2010
Posts: 80
Joined: Tue Oct 05, 2010 3:18 am

OBDII Polling Timer

Post by acg2010 »

I am trying to improve my OBDII tool polling timer. Simply, I want to take a group of text strings (PID values selected by the user) and be able to cycle through each one and send it through the COM Port module to the OBDII bluetooth adapter.

I put together a version using a portion of the OBDII tool PID value selection section together with GET At String and advanced counter. The reason I am doing this is to avoid using the Select primative that I used in my first prototype OBDII tool as I believe it causes miss timing issues during PID value polling.

My question is: when creating an "array" of the strings (PID values), why do I have to use a NL at the start so the Get At will locate it at position 1? Am I missing something? I have tried using the String Array, looked at the Queue and Stack modules and other ways of attempting to do this but could not get it to work. Is there a better way of approaching this?
Attachments
OBDII_Polling_Timer.fsm
(6.75 KiB) Downloaded 769 times
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: OBDII Polling Timer

Post by Tronic »

I made this in ruby, which greatly facilitates the entire management.
For any questions please do not hesitate to ask.

:idea: XMAS :idea:
Attachments
OBDII_Polling_Timer (Tronic).fsm
(13.21 KiB) Downloaded 766 times
acg2010
Posts: 80
Joined: Tue Oct 05, 2010 3:18 am

Re: OBDII Polling Timer

Post by acg2010 »

Thx Tronic, I will try it out.

Merry Christmas to everyone.
Post Reply