| CAJ Innovations Forums | |
|
https://www.cajinnovations.com.au/forum/YaBB.pl
MyECU >> MyECU Advanced usage >> HyperTerminal - Datalogging https://www.cajinnovations.com.au/forum/YaBB.pl?num=1243681348 Message started by James on 05/30/09 at 21:02:28 |
|
|
Title: HyperTerminal - Datalogging Post by James on 05/30/09 at 21:02:28
Dear all,
I have a My15M and I would like to log data via Hyperterminal. Unfortunately, I don't get the datalogging system started. Has anyone experience with the HyperTerminal? Could anyone describe me the steps I have to get the HyperTerminal ready set up for logging? Because I wasn't able to start with logging per HyperTerminal I have searched at sourceforge.net after a freeware software with intent to log data. Unfortunately the systems I have found haven't been stable and sustainable enough to work reasonably at the mappings. Due to that I would like to try getting started with hyper-terminal. I am sure Cliff recommends it surely not without good reasons. Could anyone direct me through the necessary steps within HyperTerminal? Thank you in advance for your help. Best regards, James. |
|
Title: Re: HyperTerminal - Datalogging Post by _Cliff_ on 05/31/09 at 07:44:56
I only mention HT because its on every windows box.
Have you got HT talking to the ECU at all? - http://www.cajinnovations.com/MyECU/SerialComms.htm When you're talking, go into menu Transfer - Capture Text and select a file. Go i to same menu to stop it. |
|
Title: Re: HyperTerminal - Datalogging Post by James on 05/31/09 at 20:29:09
Hi over there,
Thank you very much for the explication! Was it my fault not to find this perfect explaining site on your HP or isn't it linked? I am going to check accordingly and come back to post ;) ASAP. Greetings James. |
|
Title: Re: HyperTerminal - Datalogging Post by James on 06/01/09 at 05:31:59
Hi.
Okay - it works perfect with the instruction and I was able to generate the file. (If you know how, it's quite easy 8-)) Within this file I was able to find the described numbers at the beginning, too. ... = 0 0 E F 8 0 3 E D 0 2 F 4 0 2 3 A 0 3 8 8 0 0 E 2 0 1 1 F 0 2 A 9 = 1 1 2 0 0 0 0 1 6 3 3 2 1 1 5 D 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 1 E 0 0 0 0 0 0 A 0 = 3 1 2 E B 0 3 D 4 4 C 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 4 8 6 0 4 A 4 ... Final aim is to have a translator in C++ to get the Hex in Dec and sorted. Then, I am going to try to get a viewer, which visualizes information (as RPM, TPS, Airtemp, Enginetemp, Lambda...) you can select in a display for optical navigation and which shows the data if I point the mouse curser on a curve. Without optical help you don't find the points you want to evaluate. Maybe anyone has already programmed a translator and could help me with my up to now (not foundaded) work. :) If the visualizer is ready I can share it here, too. Greetings, James. |
|
Title: Re: HyperTerminal - Datalogging Post by _Cliff_ on 06/01/09 at 08:36:39
The ECUController will do this conversion. Press the ECU Daignostics button. It will ask for the input file AND the output file to create.
|
|
Title: Re: HyperTerminal - Datalogging Post by _Cliff_ on 06/01/09 at 08:38:23
Also you need to read a map in first. Some of the conversion constants are stored there.
|
|
Title: Re: HyperTerminal - Datalogging Post by James on 06/01/09 at 22:30:34
Dear Cliff,
it appears as follows: 1. load map from file 2. click on "ECU Diagnostics" 3. Dump Files are preselected but I cannot chose a particular file. 4. If change files to open into "All Files", should then the HyperTerminal *.ht file be selected? 5. If have opened the *.ht file, I have to open "ECU parsed files". Then, the PC finds a file named "ECULog". 6. I have chosen the file "ECULog.txt". I have made it only with PC and without ECU I get the message as follows: "ECU WriteFile Error = 6Sent to ECU - Sent to ECU - ?7" Then I have made same with ECU, and have received the Text as follows: "Log file started Sent to ECU - Sent to ECU - ?7 Received from ECU - –&Öø=71200160E013003A00FC40929009600C1037E04D9 Sent to ECU - Sent to ECU - ?7 Rcv Cfg # TDC is the pulse count for TDC power stroke of cylinder 1 ( i.e. When the spark fires # CylOffs is the number of degrees between success cylinders ( 0-720) # PulsesPer is the number of pulses for the 720 degree 4 stroke cycle MyECU Cfg TDC=0x1600, CylOffs=270, PulsesPer=48, MissingPulses=3 # CoilCharge is the period in us for charging the coils. 0 for cranking, 1 for running # Warning, Setting coil charge too high can cook the output transistors and coils..." I receive in the ECULog file the whole mapping but I would like to receive the logged engine data. I am embarrassed to ask such "stupid" questions and I feel like a BDU (brain dead user) but what I am missing is kind of same as your explanation you have for the mapping on your homepage. Please consider that not every MyECU user has the same background as you and some ordinary tasks for you can cause problems for me. Best regards, James. |
|
Title: Re: HyperTerminal - Datalogging Post by _Cliff_ on 06/02/09 at 06:32:28
The first file to choose is the capture file you created in HT.The one with the 3 lines you mentioned earlier. The next file is a NEW file you are about to create with the formatted output.
|
|
Title: Re: HyperTerminal - Datalogging Post by greenmonster on 06/03/09 at 10:30:00 Quote:
No need to feel that way, although I know what you mean, feel similar sometimes, as I also ask about simple things. We are all here to learn and some maybe "stupid" questions may well have to be asked f us all to understand better. ;) |
|
Title: Re: HyperTerminal - Datalogging Post by James on 06/04/09 at 06:21:42
Dear Cliff,
it doesn't work. I have the feeling that there is a general misunderstanding or something general wrong (with whatever). Just to clarify: I have "ECUControl142". Is this the actual program to work with? Is there something special I have to chose at the HyperTerminal not described in your manual? Should it be a HyperTerminal file as *.ht? What should be a "DUMP FILE" and where to get? What is a "PARSED FILE" and where to get? Best regards, thank you in advance for your reply and patience, James. |
|
Title: Re: HyperTerminal - Datalogging Post by _Cliff_ on 06/04/09 at 17:13:38
You're not giving much information.
The dump file is the file you captured the data into using hyperterminal. = 0 0 E F 8 0 3 E D 0 2 F 4 0 2 3 A 0 3 8 8 0 0 E 2 0 1 1 F 0 2 A 9 = 1 1 2 0 0 0 0 1 6 3 3 2 1 1 5 D 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 1 E 0 0 0 0 0 0 A 0 = 3 1 2 E B 0 3 D 4 4 C 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 4 8 6 0 4 A 4 ... The parsed file does not exist yet. You are about to create it. This wont help but the latest is 143 http://www.cajinnovations.com/ECUControl143.exe.zip or http://www.cajinnovations.com/ECUControl143.exe |
|
Title: Re: HyperTerminal - Datalogging Post by James on 06/08/09 at 05:26:21
Dear Cliff,
below you find the entire documentation to show you that it doesn't work as I make it. Hopefully you find with this effort my/the failure. Everything necessary in one Folder. I start the ECUControl142.exe and load a mapping. If I have opened the mapping a new file is created in the folder. I start the ECU Diagnostics but no file ECU dump file to load! I change to "All Files" and find the HyperTerminal file. A second window pops up "öffnen" means "open" As I have learned from you I have to name the file to be created. The file is created in the folder, but with 0 kb! Nothing is going on, due to that I close the ECUControl142.exe The second I close the exe, the system writes something in the log-file! As you can see, no translated hex to dec numbers... The hex-to-dec file is empty! I have described the whole process and I am really not aware what I am making wrong. I kindly ask you for according help |
|
Title: Re: HyperTerminal - Datalogging Post by raz on 06/08/09 at 06:13:54
You did not load a log file. Do not use ECUlog.txt, that is something else.
Read this: http://www.v11lemans.com/forums/index.php?s=&showtopic=13803&view=findpost&p=158636 Try to separate these things completely in your mindset: 1. Configure Hyperterminal and save the settings (name ends with .ht) 2. save a log file, using Hyperterminal (name it something that ends with .dmp) 3. convert that log file, using ECUControl (name it .txt or .log or whatever) Do not proceed to (3) until you have (2) and can confirm that it looks like Cliff last post says (lots of lines starting with a '=' ) |
|
Title: Re: HyperTerminal - Datalogging Post by James on 06/08/09 at 06:25:00
Hi Raz,
thanks for your reply. Freebeer for everybody if I have managed that (with your help, thanks)! 1. The log-file is already existent. 2. How can I produce active a log-file with the HyperTerminal? Is the log-file you are talking about the *.ht-file? I haven't found that in the description of Cliff. 3. Should I rename my "HyperTerminal test.ht" in "... .txt"? |
|
Title: Re: HyperTerminal - Datalogging Post by raz on 06/08/09 at 07:17:26
The link is a good how-to written by Luhbo. Read it and start over from scratch.
A file ending with .ht is a settings file for Hyperterminal. It is not a captured log. Your file even seem to be a mix of settings and ECU data without proper line endings. Read the forum link I posted about line endings. I think it would be nice if ECUControl could produce the log file itself. That way we could even see the log reflecting changes we do. This is impossible today unless doing some voodoo magic like serial port splitting. |
|
Title: Re: HyperTerminal - Datalogging Post by _Cliff_ on 06/08/09 at 07:30:47
The above log file shows you are confusing the some files as it has elements of two types of data.
Another source of confusion is that you have the default Microsoft setting that hides file types from you. Here is a list at the file types involved. *.ht - Hyperterminal configuration file. Created once to get HT talking and launch HT. Eculog.txt -output log file of ECUController for other diagnosis. *.dmp -file you create with HT to capture raw Ecu data. *.txt - file you create with Ecucontrollerto store parsed ecu data. |
|
Title: Re: HyperTerminal - Datalogging Post by James on 06/20/09 at 05:00:15
I try to get this fixed and afterwards I am going to write a manual which can be posted here for download.
|
|
CAJ Innovations Forums » Powered by YaBB 2.4! YaBB © 2000-2009. All Rights Reserved. |