Q&A Forum

Notifications
Clear all

[Plugin] ScanTool

174 Posts
19 Users
23 Likes
33.3 K Views
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Update #A9:
Fixed port listbox issues.
Keep Alive code removed from OBD2 protocols temporally. (Need to add it back to just ELM 1.0 and ELM 2.2 controllers since Chinese ones are too unpredictable)
Disabled ECU brick protection. (only really needed for flashing anyway so will limit it to just that set of commands)
Auto refresh delay code changed. (Each buffer overflow will slow the refresh rate down by 50ms.)
Fixed Error code list issues.
UI Change to Live Data tab. (PIDs can be added or removed by using enter key and arrows instead of pressing button and using mouse)
Found issue with VPW code. (Not tested yet) (Looking at the serial log first attempt it uses AT@1 sub timings. 2nd attempt AT@1 is set to AT@1.5 automatically by ELM controller, 3rd Attempt AT@2 is set automatically, Changed code so if it reads "ECU Unavaliable" it will try AT@2 and restart connection its self)

 
This post was modified 5 years ago by bmgjet
 
Posted : 04/02/2019 9:03 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

QD2 start, idle and shut off with Error 20 present serial data capture to review tonight and add support for.

 
Posted : 05/02/2019 5:00 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Update #A10:
QD2 code added.

 
This post was modified 5 years ago 2 times by bmgjet
 
Posted : 05/02/2019 3:16 pm
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Update #A11:

Last of the DAT core conversion completed. (All text strings are stored with in it now. So re-writing different lanugage support can be done by anyone once I explain how to.)
3KB file size reduction (Dont expect any more size reductions since there is nothing left thats compressable)
QD2 Code tested in real life usage under Build A10, (Only issue is Inj calucations will need to try work them out since the INJHigh always returns 0 and its using RPM for some kind of multiplyer)
QD2 Code optimised datalogging calls to exclude infomation not useful (Will need to test again in real life usage but should improve responce by 30ms since its not polling sensors that arnt dyno logged, Auto gear stuff, ELD, Gear, AC and so on.)
Minor bug fixes to UI error catches that I found while finishing the Language call stuff.
Started writing ECU Sim for eCtune datalogging to finish dissecting its protocol. (Since for each supported protocol I need to validate each build against known values)
Decided to exclude CAN from this plugin, will start a seperate plugin as CANTool for it (Since some one might want to log a ECUs datalogging while using CAN EGT or Knock sensor, Which would get messy with in a single plugin.)

 
This post was modified 5 years ago by bmgjet
 
Posted : 06/02/2019 8:53 am
MjPower and Walter reacted
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Update #A12:

QD2 optimised so sensors with slower changes are refreshed less. (Need to validate no issues in real life usage *Tomorrow)
ISR Datalogging protocol added eCtune/BMTune (Need to validate on real ecu *Tomorrow)
UI changes (Form size changed to 1024X762, Live Graph tab added, Controlls moved and resized)
Line Graph (Logs any of the loggable sensors and dyno readings in 1 of 4 line graphs)
*To Do, Change from dialog to form so rest of YourDyno windows still work with ScanTool on a 2nd screen*

 
This post was modified 5 years ago by bmgjet
 
Posted : 08/02/2019 3:25 pm
MjPower reacted
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Update #A13:

Changes to graph UI, (Line will not go above top of table anymore, Improved look of Max and Current value, Added label on graph.)
All protocols validated working on running cars.
Plugin changed from dialog to form. (will allow YourDyno to still be controlled with plugin still on screen. So line graph could be run on a 2nd screen or in corner of screen)
Bug fix to error report not working with ISR protocol.
PIDs can be added or removed with double click

**Wanted to get this version out since will be making a big change to sensor polling in OBD2 and QD2 in next build so it prioritize fast changing sensors, Such as RPM which can be a bit slow as seen in my video. Ill need to validate those protocols again on a running car afterwards.**

Known Bugs:
Live Data Max value not working with out clicking reset first.
QD2 injector duration formular wrong.
Spelling Mistakes.

Demo Video:
https://www.youtube.com/watch?v=G3ILAHj2r5M

 
This post was modified 5 years ago by bmgjet
 
Posted : 09/02/2019 8:53 am
Walter reacted
(@walter)
Posts: 244
Member
 

what OBD2 scan are you using?

 
Posted : 09/02/2019 3:03 pm
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 
Posted by: Walter

what OBD2 scan are you using?

Chinese 1.5 works but slow.
Genuine 2.2 works full speed that cars ecu supports.
For example, 2002 Silverado Chinese scan tool will start having problems around 300ms. Genuine 2.2 scan tool will run at 180ms.
2013 Mazda, Chinese scan tool 300ms, Genuine 2.2 90ms.
Using a USB cabled scan tool, Blue tooth one you have to run even slower.
And the way it polls each sensor 1 at a time can mean logging gets really slow when every sensor logged.
Im in the middle of changing code so first 2 sensors on the list refresh twice as fast as the rest. And if its a ECT or IAT sensor then it refresh twice as slow as the rest since its a slow changing sensor anyway.

--------
And another demo video.
Line graph on multi-monitor.
https://www.youtube.com/watch?v=_T7vtDk4LC4

 
Posted : 09/02/2019 3:37 pm
(@walter)
Posts: 244
Member
 

Ok, yes, i think usb scan Will Works better than bluetooth one. i follow your YouTube channel. your work is amazing!

 
Posted : 09/02/2019 3:49 pm
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

What protocol do people want added next?

Current Status:

LinkECU:
Still waiting for there responce, last message was "Its going to the higher ups", Will phone call again end of next week.

Neptune:
Looks like they wont allow support if I have any other Honda tuning supported. Reverse engineering protocol be slow going.

CAN:
Have Adapter on its way as well an EGT to CAN ecumaster node thanks to "MjPower" on its way.
(ScanTool will only have basic read function, CANTool will have full control and support for CAN supporting aftermarket ECUs)

Holden/GM ALDL: Need hardware
Have all info on protocol for 85-98

Nissan Consult: Need hardware
Have all info on protocol for 90-96

Subaru OBD1: Need more research


 
Posted : 10/02/2019 4:57 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Update #A14
Multi-Language.
**Dont judge google translates efforts on translating to "Norwegian"**
(I have included 2 languages with in rar files. Extract "SCANTOOL.DAT" to the "YourDynoPlugins" folder.)
(If you want to make changes to the translations, Rename SCANTOOL.DAT to SCANTOOL.zip. Then open it and edit the lang.txt file. Save changes and rename back to SCANTOOL.DAT)
(If no SCANTOOL.DAT file is found then it runs off default english with in the program.)

Tool Tips Stuck Fix
(Some times tool tips will stop working, double click this label on the bottom right of connection screen will re-enable them)

More UI Changes
(PIDs add/remove buttons removed since double click or enter will do the same on the selected PID)
(Settings added to live data screen, Not currently enabled but will be needed for using Table Data)
(Bluetooth connection mode added to connection screen, Not currently enabled)

Graph Data
(Added full screen mode by double clicking graph you want to view in full screen. It will full screen onto what ever screen you currently have ScanTool on.)

Table Data
(Added table data table, Can currently be viewed but entering debug mode *Double click bottom left label on connection screen*. Only tracks cells on a preloaded template at the moment)

Bug Fix
(Spelling mistakes should mostly be fixed)
(Max values should refresh from empty values fine now)
(Improved speed of QD2 and OBD2)*Not validated on a car yet*
(4kb size reduction, Moved tooltips to lang file, Removed/simplfied labels within resource file.)

 
Posted : 10/02/2019 9:30 am
(@powertuning)
Posts: 16
Member Customer
 

If you click on Connect/Disconnect button and ELM is not connected to car or PC program will frezze and cannot close it

 
Posted : 11/02/2019 1:19 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 
Posted by: powertuning

If you click on Connect/Disconnect button and ELM is not connected to car or PC program will frezze and cannot close it

Thanks,
Can confirm bug on my computer as well.
Know exactly what the problem is since its from turning the time out check off for the Chinese ELM so program sits there just waiting where it would normally give up after 5 sec and allow access to computer again. Will have a fix later tonight.

 
Posted : 11/02/2019 1:57 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Update #A14.5

*Small fix for bugs*

Time out code re-enabled for OBD2 ELM during the connection period.
*Time out code still disabled during use until I can find a fix for slow chinese adapters*
(Will stop trying to connect after 5 seconds if it gets no answer from ELM adapter, Odd behavour on slower computers that UI freezes while serial port is open and in loop waiting for connection. Can reproduce on work computer 4 thread 3.8ghz, Cant reproduce on home computer 20 thread 5ghz)

Fix to line graph for Dyno HP and NM.
(YourDyno has 4 values for HP and NM, Have switched to using Wheel(0) value. Have asked Jostein under what conditions the other values are used)
(Single click when in full screen graph will pause graph)

 
This post was modified 5 years ago by bmgjet
 
Posted : 11/02/2019 6:19 am
(@bmgjet)
Posts: 362
Dyno Wizard
Topic starter
 

Timeout code semi fixes issue.
Some ports will time at like expected.
But if its got some other device plugged into it, it will accept that as an answer then still get frozen.
Need more time to figure out. but for now alt+ctrl+del and kill yourdyno if it gets frozen.

 
Posted : 11/02/2019 10:31 pm
Page 6 / 12
Share:
Select your currency