Hi All,
For those of you who have a Microtech computer for their engine management I have created this little autoit script which just grabs the values from MTDF (MicroTech Dash Free) and sends them to RR as labels.
INI Explained.
Code:
[Window]
windowName=cvt's MT Dash Free v0.2a - cvt: emmertex@gmail.com
[Class]
CUSTOMMICROSTATUS=WindowsForms10.EDIT.app.0.378734a2
CUSTOMMICRORPM=WindowsForms10.EDIT.app.0.378734a10
CUSTOMMICROLOAD=WindowsForms10.EDIT.app.0.378734a9
CUSTOMMICROAFR=WindowsForms10.EDIT.app.0.378734a13
CUSTOMMICROTIMING=WindowsForms10.EDIT.app.0.378734a8
CUSTOMMICROWATERTEMP=WindowsForms10.EDIT.app.0.378734a6
CUSTOMMICROTPS=WindowsForms10.EDIT.app.0.378734a7
CUSTOMMICROVOLT=WindowsForms10.EDIT.app.0.378734a12
CUSTOMMICROAIRTEMP=WindowsForms10.EDIT.app.0.378734a5
CUSTOMMICROINJECTOR=WindowsForms10.EDIT.app.0.378734a11
[Click]
connectclass=WindowsForms10.STATIC.app.0.378734a2
[Settings]
wait=500
connectonopen=1
windowName is the name of the MicroDash Window
Each item under the [CLASS] section starts with the RR Label name followed by the ClassNN name of the control to read.
connectclass is the ClassNN name of the "Connect" button control.
wait is the time in ms to wait between updates
connectonopen is wether it will try to click the connect button on the application (1=yes, 0=no)
To use this you will need MicroDash and have it launched before this script.
Once the script is executed it will check if the "WindowName" is open (will end script if it isnt) and then send the following labels to RR.
CUSTOMMICROSTATUS
CUSTOMMICRORPM
CUSTOMMICROLOAD
CUSTOMMICROAFR
CUSTOMMICROTIMING
CUSTOMMICROWATERTEMP
CUSTOMMICROTPS
CUSTOMMICROVOLT
CUSTOMMICROAIRTEMP
CUSTOMMICROINJECTOR
PS Microdash seems a good application to embed into RR for gauges etc.
ToDo:
Add low/high alarm values
Create skin to embed MicroDash and for Values
Make script automatically connect MicroDash
Changelog:
MTDF2RR v1.1 - Released 16/9/2008
*First key of class item in ini file is the RR Label
*Option to connect to MTDF on open
*Removed alot of doubled code.
MTDF2RR v1 - Released 15/9/2008
*First Release
http://mukow.photomontages.com.au/in...ge=rrmicrotech
Tim
Bookmarks