Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000079 [FreeEMS-Tuner] User Interface feature N/A 2008-11-30 19:55 2009-09-04 09:42
Reporter Fred View Status public  
Assigned To sry_not4sale
Priority normal Resolution open  
Status assigned   Product Version 0.1
Summary 0000079: Real time vars display for basic datalog packet
Description create a tab with name and value pairs of fields in fixed locations. The values can be updated by a back ground process that reads fresh data, and the names will be static from code or config at start up.

Something like the temp and resistance fields here :

http://i260.photobucket.com/albums/ii15/diyefi/FreeTherm/RealScreenShot.png [^]

Only name on left and value on right might be better?
Additional Information The format of the packet will be as follows :

unsigned short IAT[IN_OUT_BANKS]; /* Inlet Air Temperature */
unsigned short CHT[IN_OUT_BANKS]; /* Coolant / Head Temperature */
unsigned short TPS[IN_OUT_BANKS]; /* Throttle Position Sensor */
unsigned short EGO[IN_OUT_BANKS]; /* Exhaust Gas Oxygen */
unsigned short MAP[IN_OUT_BANKS]; /* Manifold Absolute Pressure */
unsigned short AAP[IN_OUT_BANKS]; /* Atmospheric Absolute Pressure */
unsigned short BRV[IN_OUT_BANKS]; /* Battery Reference Voltage */
unsigned short MAT[IN_OUT_BANKS]; /* Manifold Air Temperature */
unsigned short EGO2[IN_OUT_BANKS]; /* Exhaust Gas Oxygen */
unsigned short IAP[IN_OUT_BANKS]; /* Intercooler Absolute Pressure */
unsigned short MAF[IN_OUT_BANKS]; /* Mass Air Flow */
unsigned short DMAP[IN_OUT_BANKS]; /* Delta MAP */
unsigned short DTPS[IN_OUT_BANKS]; /* Delta TPS */
unsigned short RPM[IN_OUT_BANKS]; /* Revolutions Per Minute */
unsigned short DRPM[IN_OUT_BANKS]; /* Delta RPM */
unsigned short DDRPM[IN_OUT_BANKS]; /* Delta Delta RPM */
unsigned short LoadMain[IN_OUT_BANKS]; /* Configurable unit of load */
unsigned short VEMain[IN_OUT_BANKS]; /* Divide by 512 to get % */
unsigned short Lambda[IN_OUT_BANKS]; /* Divide by 32768 to get Lamda */
unsigned short AirFlow[IN_OUT_BANKS]; /* top half */
unsigned short densityAndFuel[IN_OUT_BANKS]; /* bottom half */
unsigned short BasePW[IN_OUT_BANKS]; /* In timer ticks of 0.8us */
unsigned short IDT[IN_OUT_BANKS]; /* 0.8us ticks */
unsigned short ETE[IN_OUT_BANKS]; /* 0.8us ticks */
signed short TFCTotal[IN_OUT_BANKS]; /* Transient fuel correction */
unsigned short FinalPW[IN_OUT_BANKS]; /* In timer ticks of 0.8us */
unsigned short RefPW[IN_OUT_BANKS]; /* In timer ticks of 0.8us */

note TFC is signed and the rest are unsigned, no scaling factors are given yet, I just need to see the raw numbers for now, the rest will come in the JSONs later.

Also note, each one of these is two vars (new and old or old and new) taking up 4 bytes. later the format will change to one of each (and be the latest) but for now, either :

* just take the first one of each
* average the two
* display both
* make me send a byte to tell you which one is which
Tags No tags attached.
Issue Type New Feature
Attached Files zip file icon many.many.many.datalogs.zip [^] (18,528 bytes) 2008-11-30 21:54

- Relationships
related to 0000103feedbacksry_not4sale Improve UI for realtime data 

-  Notes
(0000121)
Fred (administrator)
2008-11-30 21:57

Attached is a large amount of raw data dumped by the tuner while running at 100% cpu on my turion 64 1800. This is attached for both serial handling testing and example packets :-) Not sure if they are good packets at this stage, but they should be I think.
(0000124)
BenFenner (developer)
2008-12-02 03:41

It's all you Aaron unless you want to toss it back to me.
Right now it's pretty self explanatory once you see the code.
Purely visual right now with no logic behind it. Just a pretty face.
(0000130)
Fred (administrator)
2008-12-03 00:19

Aaron, when parsing this, you should parse what you can before the end in the length specced. This is a packet that always has length. The length is variable but the field order is consistent. if there were 16 fields, and the length was half that, then you'd just parse 8 and zero/null/ignore the other 8 in the tuner display or indicate that they are not being populated.
(0000165)
sry_not4sale (administrator)
2009-09-04 09:42

Contains the code to decode and display datalog packets in realtime interface:
721dc65ef0cb41c4b38a4b4e6e9e34b65e783409


All data is assumed to be an unsigned int, is displayed raw and unprocessed (except for averaging the two values received).

- Issue History
Date Modified Username Field Change
2008-11-30 19:55 Fred New Issue
2008-11-30 19:55 Fred Status new => assigned
2008-11-30 19:55 Fred Assigned To => BenFenner
2008-11-30 19:55 Fred Issue Type => New Feature
2008-11-30 21:54 Fred File Added: many.many.many.datalogs.zip
2008-11-30 21:57 Fred Note Added: 0000121
2008-12-01 19:39 BenFenner Status assigned => acknowledged
2008-12-02 03:40 BenFenner Status acknowledged => assigned
2008-12-02 03:40 BenFenner Assigned To BenFenner => sry_not4sale
2008-12-02 03:41 BenFenner Note Added: 0000124
2008-12-03 00:19 Fred Note Added: 0000130
2009-02-15 08:30 sry_not4sale version => 0.1
2009-09-02 11:09 sry_not4sale Relationship added related to 0000103
2009-09-04 09:42 sry_not4sale Note Added: 0000165


Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker