In version 0.0.14 of TM-Spy, you can select from "standard" graphs that are supplied
with the app, AND you can add definitions for your own one-value or two-value plots/graphs.
When you are using the app, you would go to Settings to select the Plot Name of the
graph that you want to see, but that graph (presently) does not replace the "old" graph
until the first data point is discovered for the new graph. Then, "poof" the old data and
graph are replaced by the new graph. I hope this little wrinkle changes, but getting
this new graphing tested and debugged (if necessary) is more important.
If plotting two values, both must come from the 8 (or less) data bytes that are found
with the one msgID (CAN message Identification number) that you specify for your plot.
Some examples of extracting values from the data bytes D1 through D8:
A single byte value in D3 wiith the range 0 to 200 ... 3, 255, 0 ... which means byte
D3 masked with 0xFF (or 255) shifted up by 0 bits (not shifted). Max value to plot
set to 200, and the min to zero.
Two bytes (D7 as most significant, and D6 as least significant) as a two byte
signed integer, typically in the range of +/- 20,000 perhaps for motor RPM.
Use 7,255,8 and 6,255,0 with Max plot set to 20000, and the min plot set to
-20000 ... and the "signed integer" (2's compliment) checked (use value 1
instead of 0 in that field).
Of course, there are a few other fields of significance, but those in a later post,
because SWMBO wants to go out to lunch now.