Jump to content

HOWTO: Data Logging


Recommended Posts

UPDATE: 12-09-22

Here is a link to the latest datalogging manual which can be viewed via help -> View Datalogger Manual

image.png.4a47f620f1e4e660e91cf8acc355fecf.png

Introduction

The data logger is build into the PCMTEC editor, and allows you to seamlessly log your vehicle, and switch between the Nagivator and Flashing windows during a logging session, and then continue logging after reflashing and restarting the vehicle.

2.11 October 2022 Update

 

Once the Datalogger windows is opened, and the vehicle ignition turned on, the data logger will automatically connect to the Vehicle PCM:

image.thumb.png.e6247fba4240d6e8597106b9823afe33.png

Vehicles with a ZF automatic transmission can connect also the the transmission, using the 'Trans' button

External logging for recording AFRs, boost pressure or other user defined variables can be done using the DLP IO8-G Analogue/Digitial converter. This is covered in another HOWTO here

Selecting Channels

Use the Channels tab to select which Scalars you wish to view in the chart. Whilst the chart itself can display upto 16 channels (comrised of 4 charts, with 4 slots per chart), extra channels can be logged and saved and reviewed later on.

These can be selected live whilst connected to the PCM and TCM (ZF) and are then added to the logging session. 

image.png.51a7ccfb6a61297db4b88494a5ff1a95.png

Clicking on the Scalars tab displays the currently selected items. Anything greyed out is not displayed on the chart, but can be added using the right click menu

image.png.40a3b3a20df2b8c3a0886d1aa5545a09.png

Allocating Chart Items

Right click and select a Chart item to allocated TQ_ETC_SRC to Chart 4 / Slot 1 for example

Otherwise use Multi Chart add to quickly add to the next available slot (if any are available)

image.png.22d9a704100f810e28570b250e029fff.png

That now displays in our chart

image.png.2be231b64627aa56b9a29692cee7990e.png

Using Scalar Delete will remove items from the chart, but they will still be recorded as part of the logging session

Using Chart Remove will free up the slot on the chart, but keep logging it and displayed in the Scalar section (greyed out)

Adjusting Ranges

There are several methods to adjust ranges of scalars from their defaults:

1. Right click Scalar and adjust range

image.png.af6ee014d6b0557974a393215acf1578.png

2. Click and use the Zoom +/- buttons

image.png.8825c0ffe82516af2ea7e7ad69f6ab84.png

3. Hover the axis and use the mouse scroll button, and adjust by hold and move up / down

image.png.5848d49deb754ae3415f6f5f5c15f9af.png

4. Otherwise click the axis and use CTRL PAGE / CTRL DOWN keys

Use the PAGE UP / PAGE DOWN keys to adjust the position of the axis

5. Right click the axis and adjust the range using the window

image.png.4a24d56dabead341e4eefe3809b17c15.png

All range adjustments are saved, and can be stored in the save Layout feature

Sorting Scalar items list

By default all items are sorted into their 'parent' groups, matching the Channel tree. If you Right click and disable 'auto sort' you can custom configure the ordering of the 'Scalars list'

image.png.01c0041e1c5696bc918a8a3aee23a597.png

image.png.13380094d93953dbedcc71dd9b73a12b.png

Here I used CTRL UP and CTRL DOWN to move the scalar items with all temperature scalars positioned together

Enumerated Items

Some chart items like FUEL_SOURCE and TQ_ETC_SRC have meanings attached to the values, these are enumerated items. You can display the raw value by unticking the Enumerated tickbox

image.png.aef7253cc0229e0daa3fa6e113c837aa.png

Update rates

Whilst there are no limitations on the number of channels you can log, on BA all channels will be 'polled'. Adding more channels will gradually reduce the update rate. On vehicles BF upwards, rapid packet reading is available for upto at least 15 DMRs and then polling available on top of this. 

If one of the channels you have selected requires a faster update rate, it can be forced to use rapid packet by selecting High Priority for that channel

image.png.f7b22182c00f659bfeaa526aad77d568.png

The priority tickbox (left of the Scalar name) will be enabled for those High priority items you have selected. If none are selected then at least the 15 first DMRs in the list will be used for rapid packet.

Layout Load / Save

Use the Save / Load / Load append layout buttons (also available from the File menu) to keep a copy of your current chart configuration, including the items ticked, their chart slot and their ranges

image.png.bd85d43be216cd7df4ce8eddc2ab983a.png

Load append will add extra chart items to your current chart (ticked and their position if available) if they were not ticked previously. Note: Where a slot is already used, these will be ignored and not displayed

Layout files are saved in the PCMTec/Logging layouts folder, and saved as TLO files

image.png.3a34f80fc269670312af4423401e30c7.png

Pause / Start / Clear buttons

image.png.08e1a16cccdfb8971dc385f6c4f642bd.png

During logging you can pause the live log updates (logging will still happen in the background) and then review your current log by moving the blue cursor

image.png.58f50e99081a2d9788a02472e13d7cba.png

You can drag the cursor with the LHS mouse button and moving the mouse, or using the LEFT / RIGHT cursor keys. Holding the cursor keys will flip through the log page by page as it scrolls through the log. The legend/scalar values will update showing the current values at the cursor, even during a live logging session.

Clear button will clear out the current log. If the logging is over 10 seconds then you will be prompted if you want to keep the log. Logs are auto saved in case you wish to retrieve something later, then check out the auto save folder

image.png.3120ef3021ef1a9237ae288b4e8d22b5.png

Loading and Saving Logs

image.png.200b1419e3c1c35c0fc809c0a3adeafa.png

Use the Save icon to save your log as a TECLOG or CSV file (for loading into other software like MegaLogViewer for example)

Open the file will start in the PCMTec/Data logs folder, where your save files are located

image.png.038548eae05a2ad74a40328bfac63eb4.png

CSV files from PCMTEC as well as other Ford tuning software export CSV format, are supported by the data logger for playback mode

image.thumb.png.ae0e0cb982622ce6c00152f9ef4e2610.png

In playback mode, you can press Start to begin playback, and pause to stop. 

Display Options

image.png

Smoothingis on by default and will remove some of "stair casing" of the chart data

image.png.ec1b9258c048fd9b9e54df340896856c.png

image.png.9157971884fb8d792e4df395dbabf416.png

Auto range: is off by default. This will adjust the chart range based on what has been logged so far (or the range during playback).

image.png.91aaef089a81fe7da42dd48599f6ff54.png

Turning on will adjust the range to fit the current screen you see:

image.png.66711276f6c42f16f242b0c44dba8814.png

Auto scroll: will stop the chart scrolling if unticked

Legend: when unticked will hide the legend window if required

image.png.45eaf79d5be597e94c05bb429186acd3.png

Adjusting units

Units must be adjusted whilst the PCM is disconnected. When doing this, the charts will be auto scaled to the new units type (for example from deg F to deg C)

Either adjust individually, from the Units dropdown:

image.png.e4a1b126e4e60af768fe5f84624bed54.png

Or adjust everything from bulk change:

image.png.34e004004f8ce8c702efb30173504775.png

 

Zooming

The time axis can be zoomed in and out using the scroll wheel on the mouse, when hovered over the main chart. Either zoom to the Left or Right hand side of the chart, upto a maximum of 1/8 second zoom level.

Using the keyboard, using UP and DOWN arrow keys will also perform similar zoom functions

Full short cut keys are available with F1 or the Shortcuts icon

image.png.0565759ddac7994eaaf74e2196a8f8ab.png

Full short cut keys descriptions are in this HOWTO

 

  • Like 2
Link to comment
Share on other sites

On 4/8/2020 at 7:51 AM, Romulus said:

How can shift map be logged?

I don't have a vehicle with a ZF to test with but there are several scalars in the ZF that look promising. Connect to the TCM and browse through the various shift map related scalars. Here are some ones that look interesting.

image.png.04f6d080f3e0a73c5e606b598ad5a72f.png

image.png.2f3da8c08242736f71d3f4e2361d73b1.png

image.png.99b4d5c79f08294d91327a718ed69d33.png

image.png.b9ee1f19194fab7957786cdb2defe36c.png

TID000568 - Actual Number of used shiftmap

TID002575- Current active shift (code)

TID000357- ID of used shift pattern

TID000351 - Actually used shift pattern

  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

It was asked how to log torque. There is the actual torque value, the targetted torque (if undergoing torque reduction) and the 14 individual torque channels.

TQ_ACT -> Torque Actual
TQ_TARGET -> Targeted Torque (eg reduction)
TQ_LIM_x -> Torque Reduction Level (there are 14 of these that map to the torque requestors)

95629554_911554152626578_5964483824837459968_n.png?_nc_cat=102&_nc_sid=b96e70&_nc_oc=AQnCICqS50wLoVRYSAK-wAyUU0bW1vkONSb91JqP7q1Qr7pdAC6Sqczx6xEEXZVcfyg&_nc_ht=scontent.fadl4-1.fna&oh=7f5d198c96421a8b19919f6998cf208f&oe=5ECE987A

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...
  • 1 month later...

Here are some early screenshots showing the Datalogger version 2. This has map tracing, histograms/scatterplot and a new revamped UI.

Here is an example showing a line trace over a spark multiplier map with a histogram showing min/max/avg spark values below. You can instantly create the histogram with axis pulled from a table by simply highlighting a section of the log and clicking add map trace.

image.png.8bc79952ab449f6545b2166ac116bc68.png

Here is a screenshot of the new UI which will show min/max/avg on the left hand side of the selected area. There is also a new scroll bar which shows the rpm trace making it easy to find you WOT run after a dyno trace.

image.thumb.png.a21c4fd08e5f92a8a0b6d593321da668.png

There will be more updates to come but this should be available around Christmas time. Thanks to @Matt for working very hard on this recently.

When it is complete and ready for public testing we will put a video up.

  • Like 6
  • Thanks 1
Link to comment
Share on other sites

  • 1 month later...

Hey Roland & Team 

Great job on the scanner, What’s the chances ( unsure if it’s easy enough or not ) to have an option to have the colour/theme/layouts selectable to mimic HPT or SCT Advantage for people/workshops proficient in either of those to utilise a familiar display ? 
 

Not to say the 80’s colour selection isn’t good nostalgic but it’s crazy “Busy” to the eyes haha 

 

Probably more to the point can or has anyone worked their PCMtec layout to reflect as such ? 

  • Like 1
Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

I'll put the reply here as well regarding poll rates.

The way the datalogger works is you get 15 rapid packet polls, these update at roughly 50ms. Then every thing else after this is polled as fast as it can, eg if you have 16 items you are logging, the 16th item will still log very fast. If you have 60 items, the 45 items after the first 15 will log quite slowly, roughly once a second.

We get a few 'freebies' that are broadcast data and always log fast irrespective of whether they are set to high priority. These are engine rpm, oil temp and a few others. This is something only we do, other companies don't take advantage of these.

If you are very curious about how it works you can right click on the name column, select column chooser, scroll down to 'rate' and add this column. This will show a number which is number of updates per second. For a fast dyno pull you need at least 250ms updates for rpm, boost, load, knock for it to be useful, otherwise the values will not line up and you will miss spikes of knock etc.

In future versions we will be setting high priority by default on knock, rpm, cam angle etc. Currently it has to be done manually if you have selected over 15 items.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 3 months later...
  • 1 year later...
  • 1 month later...

Base spark is MBT + any emissions or other adders. It will use the lowest value of all the different sources from MBT, BLK etc + the adders. Basically you can assume this is using MBT when it says base. Check auF2727 "Base spark retard for NVH", there are also a few emissions tables that subtract spark, these can come into play in some calibrations (Most have them zero'd). If these adders are active then it will likely report the source as base.

It can also report base spark when coming out of oscillation control, eg if you stab the throttle in first gear it will trim the spark to try and avoid driveline shuffle. It will then ramp back out of this mode. You might have seen tip in/tip out as the spark source prior to it saying base.

The intermediate value you can datalog for the various spark sources are.

MID90840 Spark Base

MID91036 Spark MBT

MID91051 Spark Base for NVH (noise vibration harmonics)

MID90837 Spark Base for Anti Fouling (zero'd out in all cals I've seen)

Also have a read of this if you haven't seen it before.

 

  • Thanks 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...