Setup and MoTeC Discussions
Any way to have motec read data in real-time?

Posted by Justin Rebelo at 12:57 PM on Jul 19, 2008 Post #1

I have a laptop networked with my racing system. I have been using motec more and more lately (and starting to really find value now) and I was wondering if it would be possible to have motec read from a file live somehow. I have looked around through all the menus and don't really see a way to have it read the file in realtime rather than just load it. I won't be surprised if it can't be done, but anyone know any better?

Thanks

Posted by Andrew Carson at 01:20 PM on Jul 19, 2008 Post #2

The closest thing I've done is to put my laptop beside the computer. Set Rfactor output motec data files into a shared folder. I then set motec (on the laptop) to read data files across the network in the shared folder. This way I can have the game open, and load data files.

But real time? im not sure on that.

Posted by Jonty Couples at 01:27 PM on Jul 19, 2008 Post #3

Not the current DanZ Data Acquistion plugin - it only writes the log file when you return to the garage.

Posted by Rob Ainscough at 02:06 PM on Jul 19, 2008 Post #4

If there is enough interest, I could code something relatively quickly using .NET framework (3.5) that would provide realtime output. I could code it to support dual monitor setups also (for those that have enough multi-core CPU power).

Probably a 1-2 week work effort.

I'd have to gauge the interest level.

Posted by Steve Wood at 03:16 PM on Jul 19, 2008 Post #5

Rob...let's both work on that. I've already developed a project that has access to it, and can output to a file as data is collected, but I don't know the details of the MoTeC data file.

For MoTeC to get the data directly (without the messy file access) the only thing I'm missing is how to set up MoTeC to read live data...there is most likely a window handle that we can use for the sendMessage function, but I haven't come across it in my research.

I hope nobody tries to drive and watch the readout at the same time...hopefully Justin will have someone act as pit crew and watch the data for him...a driver should focus on the road.

Posted by Justin Rebelo at 03:49 PM on Jul 19, 2008 Post #6

Haha I was just hoping to be able to have my laptop read the live data over the network and then when I pull into my pit stall during testing, I can just turn slightly to my laptop and have a look and then get back to changes/testing. It's just to leave the racing machine doing it's thing and not have to be alt-tabbing around all the time.

Not essential by any means, I was just curious.

Posted by Steve Wood at 12:59 AM on Jul 20, 2008 Post #7

Interesting...I just noticed an ActiveX dll named MoTeC Interpreter Type Library is available...sweet. In layman's terms this means access to the MoTeC application through this interface. So, an rFactor plug-in can be built to control MoTeC with in-game controls. Not sure if that will lead to what you want, but it's interesting.

Posted by Andrew Carson at 01:00 AM on Jul 20, 2008 Post #8

Rob it would be great to develop a plugin... but honestly, I think i'd be so fascinated with the concept itself, that I'd focus less on the race.

Now for others... if there is enough interest.
We aught to pay you geniuses for your time :-)

Posted by Steve Wood at 05:08 AM on Jul 20, 2008 Post #9

Well...it looks like the MoTeC i2 pro that most of us use does not have any capacity for providing real-time analysis. It can read data from other devices, but the help text says that the interface will be unavailable while it retrieves the data.

There could be some other application available from MoTeC that does provide real-time analysis...you might want to see if anything like that is available.

Posted by Ruslan Kochanov at 05:34 AM on Jul 20, 2008 Post #10

I think this is what you need Steve
Telemetry monitor download
and overview