As I mentioned
here, I want to start on an SSM plugin, however due to my poor knowledge of .net, or anything thats not VB6 for that matter, it's going to take some time.
Between now and then though, I have embedded an existing SSM project by NateW that nemo posted in the same thread. The SSM project (called Lumberjack) can be found
here and is a very simple SSM monitor program that displays simple data in a nice clean format and has scaling built in. Once embedded it looks excellent.
If you want it, download Lumberjack from the link above and install it onto you carpc. In CF, add treehugger.exe with no parameters, fullscreen off and the window name as
mainform. Dont forget to add a button to CF in Seetings > Button Layout.
Getting Lumberjack to display the data you want is a little difficult as you need to know what the parameter ID's for each sensor and their display format. I found the easiest way was to get them from \Lumberjack\Configuration\logger.xml. Write down the Parameter ID (Eg. P2) and the conversion unit applicable to you (Eg. F or C) for each of the 6 readings you want to display.
Code:
<parameter id="P2" name="Coolant Temperature" desc="" ecubyteindex="8" ecubit="6">
<address>0x000008</address>
- <conversions>
<conversion units="F" expr="32+9*(x-40)/5" format="0" />
<conversion units="C" expr="x-40" format="0" />
</conversions>
You then need to open up the treehugger.exe.config file and change the values in keys 0 - 5 accordingly. Make sure you keep the same format and the conversion units seems to be case sensitive.
Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="Left" value="0"/>
<add key="Top" value="0"/>
<add key="Width" value="800"/>
<add key="Height" value="600"/>
<add key="Port" value="COM8"/>
<add key="0" value="P2,C"/>
<add key="1" value="P10,degrees"/>
<add key="2" value="P58,AFR"/>
<add key="3" value="P8,rpm"/>
<add key="4" value="P11,C"/>
<add key="5" value="P17,V"/>
</appSettings>
</configuration>
Make sure you change the
com port to right one too, but you can leave everything else as is.
I think that covers it. See how you guys go...