MegaSquirt GUI Development Page
The following screenshots show the current prototype of a 16-bit windows GUI for the MegaSquirt EFI controller project:
The pix above represent the main screen called "Virtual Dashboard" and the Graph/Logging screen in both Closed-Loop mode and Open-Loop mode. Notice the Accelleration-Enrichment spikes in red.
This program is being developed in 16-bit Delphi 1.0 and therefore should run on any windows platform from Windows 3.1 on up. There are no additional files or setup necessary - just download the .EXE and double-click to run. The link below is an early development beta of the .EXE as its being designed and developed in order to get a feel for where it is now and to add comments (via personal email or the MS group) to influence its development.
Current Development Status
Last update on: 04/11/04
- Click here for latest .EXE revision (04/11/04 at 12:57pm, Version 0.9.0.5c)
- Current Priorities / Issues
- 1) Continue Constants/Enrichments/VETable/Logging/Gauge&OtherConfig (collectively known as) Configuration management protocol, visualization, & implementation (whew!)
- 2) Either go to 16 channels or do something else to take care of the additional items in Full logfile not handled by existing 8 (like Batt, CTS, MAT, spares, etc)
- 3) Work more on Tuning section following on the Current vs. New VE Table theme - Looking for creative was to determine 'new' VE Table
- 4) Logging stops randomly - identified issue in Abakus trend component's timer - replacing timer w/Windows 1ms timer - this is yet another major program redesign but a worthy one in my mind
- Latest Changes
- 4/11/04 - Fixed bug when using different versions of the firmware (will be expanding along these lines) - added firmware selection (will be somewhat automated later) - Found where program is looping, need to test if fix worked, click the 'rtRecieve := F' button on Graph->MSCommsDebugArea(bottomright) if it hangs and email me if this 'unhangs' it - Added 'Tools' tab where some handy calculators will live, need to reset gui elements as they shift slightly when the Tabbed Notebook goes from 1 to 2 rows of tabs - Shortened some tab names to help this problem
- 3/16/04 - Almost all of the constants/enrichments are reading ok now - .xls log file output is progressing again but not complete yet - select between NarrowBand and WideBand O2 sensor setups should be working ok, I've removed my WB setup so I can't test it all yet
- 3/14/04 - Added support for diy-wb wideband controller - will have the selection between NB and WB working soon.
- 3/08/04 - Recent additions are quickly outgrowing the current design. The program started out as a simple, single executable that would run on even a 286. Keeping to those roots, I am considering branching into multiple codebases at this point - one will sew up remaining functionality in current binary - and one will begin as a new 32-bit, database-enabled version
- 3/02/04 - Mapping out new Configuration management protocol - deciding upon new config-file format - leaning towards xml or xml-like
- 2/29/04 - Minor organizational change in GUI to support item 1) above
- 2/23/04 - No updates for awhile as I'm currently reworking lots of code to handle some serious shortcomings - namely the .xls logfile output needs 19 values to be logged and MSGUI is currently only logging 8 channels (max for that particular component) - several redesigns have failed thus far - its very hard to come home from my regular stressful day at work and try to code with a screaming 2 month old baby in the next room! - Please bear with me...
- 2/19/04 - Another major redesign underway - lots of lowlevel code changed - not sure how stable this release will be - program now needs a file called "THROTFAC.INC" which is just a copy of throttlefactor.inc w/8.3 naming convention - this was necessary in order to get proper TPS display readings - The 16x16 VE Table is a work in progress and not fully functional
- 2/17/04 - Found a workaround for the log stopping problem - linked Graph and Virtual Dashboard screens sharing some controls & status indicators - more redesign on Virtual Dashboard playing w/gauges - I keep running into current design limitations - need to redesign some things to accomplish the above goals
- 2/15/04 - Changed lots of little appearance things, fonts, box sizes, etc. Also bringing more of the Constants and Enrichment reading functionality back - Slight reorg to save space on the front page - resized main program window smaller to help some of the users w/small resolution displays
- 2/14/04 - Constants page is working again - fixed alot of little issues - Will probably take the next few days to work on redesign of the timer section and will also possibly attempt cache/chunking data to disk when datalogging - Some of you may have noticed the record size limitation that is there now (about 25 mins), this should remove that and make it limited only by your harddisk size
- 2/13/04 - Starting to bring back functionality from other tabs - Combined 'VE Table' and 'Tuning' screens and deleted other blank tabs - Ok I changed alot of things (most not visible) but until I get some sleep the following is all I can remember - Added ability to save comport setting and startup 'page' or notebook 'tab' - Need to create a MSGUI.INI with two lines (anywhere) that START with either Port=x or PageIndex=y (where x and y are your choices) like this:
- 2/12/04 - MS Log file compatibility working with only a few minor bugs remaining - Switching to MS Full Log file format as default - Changed the management of communications to MS to support other recent changes (screen gymnastics) - Turns out you couldn't change the comport value - now you can! - Tester turns up another issue w/comport selection - hopefully that one is dead now also
- 2/11/04 - MS Log file compatibility almost complete, added remaining 3 channels for full 8 channels of display (+ all channels logged) - Having issues with changing screens affecting data flow - Another redesign targeting continuous dataflow on all screens simultaneously
- 2/10/04 - Major redesign of program flow, datalogging, & controls display to support MS Logfile compatibility - Cleanup & Reorganize screen elements on Graph page mostly
- 2/09/04 - Added 'operating point' object to Virtual Dashboard page - Lots of bug fixes, added 3 new Notebook tabs (tuning, performance, firmware)
- 2/08/04 - Major development as of late - check out the graphs! Fleshing features, reliability testing is current focus
- 2/06/04 - Wow, look what I dug up after almost 2 years (had a baby girl during my time off project!) Hmmm - need a live graph/datalog feature...
- 5/10/02 - VE Table tab now correctly reading current VE Table from MS unit, added VE Table Load/Save functionality
- 4/26/02 - Fixed remaining gauges, now all on main page are functional and match configurator.exe output
- 4/10/02 - Status update only. Completing move to New Orleans - expect to continue MSGUI project in 2 weeks
- 3/27/02 - Changed gauge needles, fixed gauge limit problems, added Reset Btn
- 3/22/02 - Fixed problem of when other tabs were selected - gauges stop working
- 3/21/02 - Added comport selection combobox
- 3/20/02 - Added duty cycle bargraph gauge (non-functional at this point)
- To Do List
- Add error checking on comm routines - especially comport selection
- Get feedback from MS group re: screen size
- Add selection of rtVars on Graph Page
- Fix date/timestamp of records when loading in MS Full logs
- Fix scrollbar on Graph Page
Questions/Comments Welcome!
Click here to email me directly.
Links
MegaSquirt Home Page
Yahoo Message Board for MegaSquirt
MegaSquirt Info Page