Comments (21)
If this is no communication problem, please check the INPA traces to see which jobs they are using.
from ediabaslib.
I just checked it with DeepOBD with the same hardware on my Android Phone and get the exact same error:
from ediabaslib.
One additional thing I just found out :-) is that if I connect with INPA and execute STATUS_MESSWERTBLOCK_0 i get the data immediately. If I disconnect afterwards and do not switch off the ignition and connect my pi again I can read the data without problems:
osmc@BMW:~/ediabaslib/EdiabasLib/EdiabasTest/bin/Debug$ sudo mono EdiabasTest.exe --alltypes -s ms450ds0.prg -j STATUS_MESSWERTBLOCK_0 -p /dev/ttyUSB1
API Version: 7.3.0
JOB: STATUS_MESSWERTBLOCK_0
Variant: MS450DS0
DATASET: 0
IGNITIONCURRENT: I: -1 0xFFFF ALL: -1 255 -1 65535 -1 4294967295 -1
IGNITIONHISTORY: I: -1 0xFFFF ALL: -1 255 -1 65535 -1 4294967295 -1
JOBNAME: STATUS_MESSWERTBLOCK_0
JOBSTATUS:
OBJECT: ms450ds0
SAETZE: W: 1 0x0001 ALL: 1 1 1 1 1 1 1
UBATTCURRENT: I: -1 0xFFFF ALL: -1 255 -1 65535 -1 4294967295 -1
UBATTHISTORY: I: -1 0xFFFF ALL: -1 255 -1 65535 -1 4294967295 -1
VARIANTE: MS450DS0
DATASET: 1
_TEL_ANTWORT: 61 F0 7E 00 00 00 00 00 04 19 51 00 52 00 65 00 35 00 00 00 2E 80 03 02 00 00 27 80 D9 40
_TEL_AUFTRAG: B8 12 F1 02 21 F0
JOB_STATUS: OKAY
STAT_MESSWERT0_EINH: V
STAT_MESSWERT0_TEXT: Spannung Kl.87
STAT_MESSWERT0_WERT: R: 12.796890624 ALL: 12 12 12 12 12 12 12.796890624
STAT_MESSWERT1_EINH: km/h
STAT_MESSWERT1_TEXT: Geschwindigkeit
STAT_MESSWERT1_WERT: R: 0 ALL: 0 0 0 0 0 0 0
STAT_MESSWERT2_EINH: 1/min
STAT_MESSWERT2_TEXT: Motordrehzahl
STAT_MESSWERT2_WERT: R: 0 ALL: 0 0 0 0 0 0 0
STAT_MESSWERT3_EINH: 1/min
STAT_MESSWERT3_TEXT: LLR – Solldrehzahl
STAT_MESSWERT3_WERT: R: 1049 ALL: 25 25 1049 1049 1049 1049 1049
STAT_MESSWERT4_EINH: C
STAT_MESSWERT4_TEXT: Motortemperatur
STAT_MESSWERT4_WERT: R: 12.750010368 ALL: 12 12 12 12 12 12 12.750010368
STAT_MESSWERT5_EINH: C
STAT_MESSWERT5_TEXT: Kühlmitteltemperatur Kühlerausgang
STAT_MESSWERT5_WERT: R: 13.500010496 ALL: 13 13 13 13 13 13 13.500010496
STAT_MESSWERT6_EINH: C
STAT_MESSWERT6_TEXT: Ansauglufttemperatur
STAT_MESSWERT6_WERT: R: 27.750012928 ALL: 27 27 27 27 27 27 27.750012928
STAT_MESSWERT7_EINH: C
STAT_MESSWERT7_TEXT: (Motor) - Öltemperatur
STAT_MESSWERT7_WERT: R: 13 ALL: 13 13 13 13 13 13 13
STAT_MESSWERT8_EINH: kg/h
STAT_MESSWERT8_TEXT: Luftmasse
STAT_MESSWERT8_WERT: R: 0 ALL: 0 0 0 0 0 0 0
STAT_MESSWERT9_EINH: hPa
STAT_MESSWERT9_TEXT: Umgebungsdruck
STAT_MESSWERT9_WERT: R: 987.03515904 ALL: -37 219 987 987 987 987 987.03515904
STAT_MESSWERTA_EINH: °DK
STAT_MESSWERTA_TEXT: Drosselklappe Sollwert
STAT_MESSWERTA_WERT: R: 5.61614977 ALL: 5 5 5 5 5 5 5.61614977
STAT_MESSWERTB_EINH: %
STAT_MESSWERTB_TEXT: Fahrpedalwert
STAT_MESSWERTB_WERT: R: 0 ALL: 0 0 0 0 0 0 0
STAT_MESSWERTC_EINH: V
STAT_MESSWERTC_TEXT: Spannung Drosselklappe Poti1
STAT_MESSWERTC_WERT: R: 0.77144448 ALL: 0 0 0 0 0 0 0.77144448
STAT_MESSWERTD_EINH: V
STAT_MESSWERTD_TEXT: Spannung Drosselklappe Poti2
STAT_MESSWERTD_WERT: R: 4.24294464 ALL: 4 4 4 4 4 4 4.24294464
from ediabaslib.
Please attach the trace files (ifh and api) for both cases, so we could see the difference.
from ediabaslib.
Thank you very much for the quick response. Can you provide me a quick introduction how I can get the INPA trace files?
from ediabaslib.
At the moment I don't remember how to enable them, one solution would be to replace the api32.dll with the EdiabasLib version and enable logging there or simply log the telegrams on the line.
from ediabaslib.
Ok. I'll give it a try afterwards. Thank you very much for the support!
from ediabaslib.
You could try to set the corresponding flags in ediabas.ini, but I think INPA overrides them afterwards.
from ediabaslib.
If I remember correctly, I have used the following flags in EdiabsLib.config to force tracing:
<add key="ApiTrace" value="1" />
<add key="IfhTrace" value="2" />
<add key="LockTrace" value="1" />
You have to replace the api32.dll of course.
If INPA has the same problem with the replaced dll, it's probably a bug in EdiabsLib.
from ediabaslib.
Hi, I have no compiled API32.dll so far. But I managed to enable trace in INPA by setting ApiTrace = 8
IfhTrace = 3 in file EDIABAS.INI.
I attached the trace files from INPA and from EdiabasTest Commandline tool before and after the execution of INPA. For me the trace files are looking quite different, but maybe you can read something out of it?
What I can definitely say is that if I execute INPA and execute the reading of STATUS_MESSWERTBLOCK_0 it will afterwards work with EdiabasTest too if I do not put the ignition off in the meanwhile. It seems that somehow INPA is executing something additional to put the ECU in a "correct mode".
Thank you
ediabastrace.zip
from ediabaslib.
Thanks, I will check that when I have some time, but it seems that the important part is missing in the INPA trace (part been the api.trc and apiold.trc)
from ediabaslib.
You have get the job before the first:
[23:16:58] apiJob(
"MS450DS0",
"STATUS_MESSWERTBLOCK_0",
"",
""
)
from ediabaslib.
Ok. I understand seems that INPA somehow has overwritten a part of the trace file. :-(. I'll check this tomorrow.
Thank you
from ediabaslib.
Hi,
I found out, that INPA first executes MESSWERTBLOCK_0_SCHREIBEN before it executes STATUS_MESSWERTBLOCK_0. So I tried this and it seems to work now.
Thank you very much for guiding me to this solution and this great piece of software from your side! :-)
BR
from ediabaslib.
Thanks for the info, does this job require any parameters?
Perhaps I could add this to the documentation section.
from ediabaslib.
No it does not require any parameters. But I think the same is necessary for the other STATUS_MESSWERTBLOCK_X.
from ediabaslib.
Thanks, I will check if there is also a write command, perhaps I could add it to the configuration generator of the app.
from ediabaslib.
It seems to to be a special thing only for MS450DS0, there MESSWERTBLOCK_0_SCHREIBEN to MESSWERTBLOCK_7_SCHREIBEN is existing.
from ediabaslib.
Ok. Strange. But they would have some reason for this propably. :-D
from ediabaslib.
I have now added some info to the documentation section, at least this knowledge will not be lost ...
from ediabaslib.
OK that's good. Thank you very much again for this awesome software and the quick and kind support!
from ediabaslib.
Related Issues (20)
- Deep Obd & OBD adapter HOT 15
- E-Series MOST Gateway/CHAMP cannot be fully accessed HOT 1
- BMW ADS Inteface HOT 6
- Can't program - unknown device 0xffe0 HOT 3
- Deep OBD HOT 1
- (Question / Feature Request) ELM327 Bluetooth-Security HOT 10
- BK3211 compatibility HOT 2
- Usage of FTDI for ADSComPort HOT 1
- Logging from multiple ECUs at once? HOT 15
- Bad ELM response with ELM327 V1.5 firmware HOT 1
- DeepOBD - 'Store log data settings' in Global Settings not working HOT 5
- Get rpm and set gpio output HOT 9
- disconnecting after succesfull connection HOT 1
- disconnecting after succesfull connection
- Deep OBD error "Download failed because the resources could not be found" HOT 2
- How to use EdiabasTest.exe format HOT 3
- Full INPA functionality with Deep OBD adapter? HOT 3
- Anzeige und Log funktioniert nicht bei einem Job mit mehreren Argumenten. DeepOBD HOT 3
- ELM327 1.5 with yc1021 HOT 2
- 3.3v available on FTDI chip of BMW DCAN cable but missing 100nF capacitor HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ediabaslib.