Results 1 to 4 of 4

Thread: Nanocom Data visualisation on OSX

  1. #1
    Join Date
    Feb 2011
    Location
    Brunswick, Victoria
    Posts
    3,778
    Total Downloaded
    0

    Nanocom Data visualisation on OSX

    Had a bit of time on my hands today and finally found a Mac OSX program that goes at least part of the way to providing a means of plotting data from record functions of the Nanocom.

    https://itunes.apple.com/us/app/clic...1161'mt=12

    The downside is that you'll need to do a bit of text processing before the Nanocom csv files are usable.

    Open up the csv file with TextEdit:

    1. Remove the first two lines - one with the module name and the following blank line.
    2. Use Find > Find to change the delimiter. Click the replace check box, enter ";" in the top line, "," in the second line (both without the quotes) then click All.
    3. The program doesn't seem to like parenthesis in labels so these need to be removed. If you are looking at fuelling files this edited version can be used to replace the first line:

    Code:
    ENGINE SPEED,ROAD SPEED,Idle speed error,ACCEL. TRACK1,ACCEL. TRACK2,ACCEL. TRACK3,ACC SUPPLY,BATTERY VOLT.,AIR FLOW,AMBIENT PRESSURE,TURBO PRESSURE,AIR INLET TEMP.,COOLANT TEMP,FUEL TEMP.,EGR Inlet,EGR mod.,Wastegate,CYL. 1,CYL. 2,CYL. 3,CYL. 4,CYL. 5
    If you are looking at any other file you'll need to clean up yourself. I'd suggest keeping a file with the cleaned headers if you intend using this app more than once!

    Once you have the file prepared open up ClickPlot and from the file menu open your csv file.

    You should see the name in the File List window. Click on the filename and you should see the column headers appear in the Data Series Selection window.

    In the X column click next to Row Number.



    Once this is done you can simply highlight the name of the item you wish to graph.



    The program also allows you to create calculated columns. It's slightly clumsy as you need to use the internal number of the data series. The row number column is C0 and the following columns numbered in sequence. Even so it's particularly handy if you want to see the absolute boost pressure. By creating a column "C11-C10" which on the Nanocom Fuelling files subtracts ambient pressure from manifold pressure you can easily do this.



    Using an app like ClickPlot opens up visualising data from other modules. One that could be useful is the AutoBox data:



    Much of the data in the autobox recording is on/off or closed/open which can't be graphed. Using search and replace to change these to 1 and 0 as required makes it possible to graph the operation of autobox solenoids for example.

    It would be nice to be able to automate the processing of the data files, but that is a project for another day.

    cheers
    Paul
    Attached Images Attached Images

  2. #2
    Join Date
    Feb 2011
    Location
    Brunswick, Victoria
    Posts
    3,778
    Total Downloaded
    0
    A quick correction on the changes need to the Nanocom recordings before loading.

    1. Remove Nanocom header lines (i.e. NANOCOM - TD5ENG.APP - TD5 ENGINE input file and following empty line)
    2. search/replace semicolons with commas.
    3. remove degree symbols. These appear as an infinity symbol when viewed in a text editor ascii (∞C). % symbols don't need to be removed.

    I've been using the freeware Bare Bones Software | TextWrangler for general file mangling purposes.

    cheers
    Paul

  3. #3
    Join Date
    Feb 2011
    Location
    Brunswick, Victoria
    Posts
    3,778
    Total Downloaded
    0
    I've cobbled together an Applescript application (Nanocom Knife) that slices and dices the Td5 and AutoBox recording files using TextWrangler.

    NB: You need to have OSX and a copy of TextWrangler for this script to work.

    The app strips the Nanocom header lines from the file(s) deletes any blank lines, then converts semicolons to commas, deletes the degree symbols before saving the file. The original dragged file is overwritten, so if you are concerned about keeping the original please make a copy to work on.

    The script detects the name of the Module written into the header and selects a set of replacements based on this. The AutoBox recording has on/off, open/closed and similar status messages converted to 1 or 0 to allow graphing.

    If you try this out, make sure you have back up of files you are working with. The file is provided "as is".

    Paul
    Attached Files Attached Files

  4. #4
    Tombie Guest
    Great work Paul...

    I'm just totally over working on vehicles at this level... Very happy that you have taken up this (and more)...

    I've spent years messing around with them, now I just want to drive the things...

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search AULRO.com ONLY!
Search All the Web!