Program than can mimic tractrix out?

Announcements, dicussion about any topic that would have broad interest to the forum members

Moderator: Freon

Program than can mimic tractrix out?

Postby shaolin_racer » Wed May 02, 2007 12:48 pm

I was wondering if there is a program that can mimic the output of a tactrix cable. I have a friend who is trying to put together a digital dash, and needs to have some input to process while he is away from my car. Any help will be appreciated.


Thanks in advance.
shaolin_racer
 
Posts: 4
Joined: Mon Apr 30, 2007 9:57 pm

Postby Newfoundlancer » Wed May 02, 2007 1:27 pm

So, basically a virtual running car? I highly doubt it.
Newfoundlancer
 
Posts: 19
Joined: Tue May 01, 2007 1:08 pm

Postby Freon » Wed May 02, 2007 5:17 pm

You might be able to use a serial port looped back into the computer through a separate serial port with a null modem cable, use Hyperterminal, then send a log file as text from the first serial port, with your digital dash connecting to the second.
Freon
 
Posts: 700
Joined: Thu Nov 17, 2005 5:50 pm
Location: Indianapolis, IN

Postby NSFW » Wed May 02, 2007 9:33 pm

Another approach would be to have Enginuity log to a csv file, and have your friend's digital dash software read from that file. You don't have to stop reading when you hit EOF - just keep checking for more data. :)

I just wrote a little toy program to try this out, and surprisingly TaskMan shows it using 0% CPU, even if I use synchronous reads. I just have to "Sleep(1)" when the read comes up empty (otherwise it's up at 97% CPU).

With this approach, your friend can use csv files as input data, and not bother with serial ports at all. At most he might want to write a test utility that reads one CSV file and writes to another with realistic pauses between lines.

All of this assumes that you're OK with using Enginuity to do the actual logging, and that Enginuity opens the csv file in a way that allows other processes to read from it. I haven't actually checked that, but if that's not the case it's probably just a one-line fix.
NSFW
 
Posts: 31
Joined: Sat Dec 02, 2006 4:15 pm

Postby shaolin_racer » Sat May 05, 2007 6:59 am

Thank you.
shaolin_racer
 
Posts: 4
Joined: Mon Apr 30, 2007 9:57 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests