Tactrix cable and PDA/Pocket PC - working logger
#1
Evolving Member
Thread Starter
Tactrix cable and PDA/Pocket PC - working logger
I just wanted to post a thread where you can find a working version of a PDA/Pocket PC logger.
What is needed:
Tactrix cable
PDA/Pocket PC with USB Host adapter (in my case it is Acer n50 with USB host cable)
OS: the current version works with Windows Mobile 2003 and .Net compact framework 2.0
First you need to install FTDI drivers for Pocket PC - instructions are posted on FTDI website:
http://www.ftdichip.com/Documents/In...tion_Guide.pdf
I installed this driver into my pocket pc (Acer n50):
http://www.ftdichip.com/Drivers/D2XX...D2XXDriver.zip
I modified the inf file so it contains the PID ID of my cable. I do not use the serial emulation - connect directly through ftdi driver (attaching a zip file ftd2xx.zip which contains all 3 files that you just need to copy into your programs directory in pocket pc).
Attached is also a zipped exe file that you just copy to your PDA and run. Version with installed is zipped as well. For developers - zipped source code for Visual Basic enclosed enjoy
Credits go to johnbanks - his serial logger was my baseline
What is needed:
Tactrix cable
PDA/Pocket PC with USB Host adapter (in my case it is Acer n50 with USB host cable)
OS: the current version works with Windows Mobile 2003 and .Net compact framework 2.0
First you need to install FTDI drivers for Pocket PC - instructions are posted on FTDI website:
http://www.ftdichip.com/Documents/In...tion_Guide.pdf
I installed this driver into my pocket pc (Acer n50):
http://www.ftdichip.com/Drivers/D2XX...D2XXDriver.zip
I modified the inf file so it contains the PID ID of my cable. I do not use the serial emulation - connect directly through ftdi driver (attaching a zip file ftd2xx.zip which contains all 3 files that you just need to copy into your programs directory in pocket pc).
Attached is also a zipped exe file that you just copy to your PDA and run. Version with installed is zipped as well. For developers - zipped source code for Visual Basic enclosed enjoy
Credits go to johnbanks - his serial logger was my baseline
Last edited by evo828; Jan 14, 2008 at 03:04 PM.
#3
Evolving Member
Thread Starter
In average I get 3-4 rows/sec and when above 80% TPS it stops logging some redundant items - and it increases to 5-6 rows.
The bottleneck seems to be FTDI driver - which slows the communication. As I cannot edit the driver itself - at the moment I have no idea how to improve the logger speed further. If anyone is interested in some code optimising (multi-thread or change the way I work with the forms there - you are welcome.
May be when johns finishes the DMA logging - this could be the way to have faster speed on a pocket logger.
The bottleneck seems to be FTDI driver - which slows the communication. As I cannot edit the driver itself - at the moment I have no idea how to improve the logger speed further. If anyone is interested in some code optimising (multi-thread or change the way I work with the forms there - you are welcome.
May be when johns finishes the DMA logging - this could be the way to have faster speed on a pocket logger.
#5
Evolving Member
Thread Starter
I am not sure - I just spoke with one guy who just knows more of this - and he told that while the system is communicating to USB it is just fully concentrating on this and doesnot allow for going to another "thread" - so this is what I know. That is why I think that doing one request and waiting for bulk of bytes - would be little bit faster.
Trending Topics
#11
Evolving Member
Thread Starter
OK - I tried to log into memory instead of SD car - but still the same results.
With 27 items logged - I get cca 3 rows per second. It is enough for a dash display and informational logs as well.
Looking forward to have DMA logging built into this Pocket PC
With 27 items logged - I get cca 3 rows per second. It is enough for a dash display and informational logs as well.
Looking forward to have DMA logging built into this Pocket PC
Thread
Thread Starter
Forum
Replies
Last Post
CLaNZeR
General Engine Management / Tuning Forum
0
Jan 31, 2009 02:26 PM
jcsbanks
ECU Flash
17
Dec 11, 2007 05:36 AM