Logging data to a file
Once the interface has been found (where you have the list of ECUs) there is a now a new button that you can press if you want to log data.
You will be presented with a dialog box to select a folder and file name.
There are five buttons along the top:-
1. Go up a level
2. Create a subdirectory inside where you are
3. Show hidden files
4. Go to home directory
5. Bookmarks
The home directory option looks like the sensible one to go for.
The you need to specify a file name
and press Save
Make sure that you don't select a file that already exists by mistake. IT WILL BE DESTROYED. There is no "are you really sure" stuff.
A clarification:-
If you select a file with .log at the end then the file will be overwritten.
If you select a file without .log at the end then pscan will create a new file with the same name but with a .log added on the end. Therefore you are only really likely to accidentally overwrite a file that has .log already on the end of the filename.
Then select the ECU and connect to it as normal.
If you press info or read error codes then a filename.log-text-n.txt file will be created.
n will increment everytime that you do this.
If you go into live data then when you quit from live data a filename.log-live-n.csv file will be created
n will increment everytime that you do this.
If you go back to the ECU selection page and click Cancel Log File and the Select Log File again then this will reset n to 1 and overwrite the files that you did before if you select the same filename.
Only live data that you select with the little + symbols will get logged. Basically if you see it in pscan on the screen then it's logged, if not then it isn't. The more you select then (mostly) the slower it will log and the bigger the output file. It is better to only log the parameters that really matter to what you are trying monitor.
To open a csv file you need something live Microsoft Excel or Libreoffice.
When you open the file it will likely ask you whether you want fixed width or delimited.
Go for delimited.
You will also likely be given a choice or delimiter characters. Select commas and deselect anything else.
Then open the file.
At the moment both numbers and units are shown in the cells which makes graphing a little tricky.
What I need to do is to go through all the live data definitions in pscan and remove the units and put them in the descriptor instead of the result, but this could take a while as there are thousands.
In the meantime you can do this manually. If you are interested in engine speed you can open the csv file in notepad and do search for " RPM" and replace with "" (i.e. nothing), save and then open in the spreadsheet.
Please Log in or Create an account to join the conversation.
The live data capture mode worked really well, generating a file that I could easily open in Excel. The output in this case also included the units, which I stripped out using the Find/Replace function, replacing the units (kph) with nothing (""). This then enabled me to graph the four wheel speed signals like so:
You can see that the right front wheel sensor speed signal drops to zero for 4.5 seconds, triggering the fault code on the ABS ECU.
Note that I also converted the time base to hh:mm:ss using the formula =CONCATENATE(TEXT(INT(A1/1000)/86400,"hh:mm:ss"),".",TEXT(A1-(INT(A1/1000)*1000),"000")) where the Live data update interval for that row is contained in cell A1.
Really pleased with this - should be invaluable for all sorts of irritating intermittent faults. The only down side is that there doesn't seem to be a way of marking the telemetry data with the point at which the fault code is logged - but I guess in the majority of cases, this ought to be pretty obvious - as in my example above
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Whereas the live screen declared a sample interval of over 500ms, the actual sample interval is closer to 125ms - i.e. 8 times per second versus just twice per second... This was with Lambda voltage, engine speed and coolant temperature all being recorded contemporaneously :broon:
Please Log in or Create an account to join the conversation.
I think that it's a side effect of some internal caching. Basically if four readings come from the same packet then it will request the packet for the first reading and cache it. For the other three the result is taken from the cache rather than requesting it all over again.
I think that the dump to the csv file is after the cache rather than before.
I need to look into that.
Please Log in or Create an account to join the conversation.
For most sensor outputs, there is little advantage sampling any faster than 8/sec, but for rapidly changing values - such as the Lambda - a faster sample speed would significantly improve the recorded trace. However, for most diagnostic purposes, this is probably unnecessary
Please Log in or Create an account to join the conversation.
This is why if you select more stuff it starts to slow down.
For the csv file I need to have a look at the code and see if the timestamp can be made more accurate.
Please Log in or Create an account to join the conversation.
I'd like to trim down the Parameters that are available for a particular car ,
rather than have the whole list of items at start-up for every vehicle.
Or could there be a way to 'save' the parameters selected, instead of having to go down the list '+' ing each line required.
(yes I know I can '+' the whole lot.)
I'd even be happy editing an .ini file or similar.
Please Log in or Create an account to join the conversation.
I only just did idle screw adjustment on the MEMS2J and now I need to do the same on other ECUs.
I am also long overdue on enabling/disabling options (particularly on the Pektron).
I have promised to do alarm fob programming on the 75/ZT.
I also want to do Landrover 10AS.
Injector coding on the TD5.....
There are also other features also in the pipeline but I don't want spoil the surprise.
So. If for whatever reason I ever change the GUI or something (maybe make it more tablet friendly or do Android) then I will consider it; but as things are I think that this would be a low priority as it's a convenience thing but doesn't actually stop anyone doing what they want to do.
Please Log in or Create an account to join the conversation.
As you rightly say its not a show stopper.
ATB, Jon
Please Log in or Create an account to join the conversation.
- talkingcars
- Offline
- Moderator
- Posts: 6874
- Thanks: 1296
pscan.uk wrote: ….So. If for whatever reason I ever change the GUI or something (maybe make it more tablet friendly or do Android) then I will consider it;.......
That would be good. Although I am the first to admit I have no idea how much work is involved.
Home to black Alfa Romeo 159 3.2 V6 Q4 ,green MGF VVC and red MG Maestro T16.
MG - the friendly marque.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.