Example Code

DTA Racing ECU Log Editor Using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

The purpose of this application is to show how you can modify and alter race log files created from a DTA Racing ECU.

 

Description

This example shows how to import and manage the ECU logs. This example using the LabVIEW Event Structure is composed of three functions such as the main function (Race Log Viewer 2012 NIVerified.vi), the import DATA File function (Importer 2012.vi), and the Log Viewer function (Viewer 2012.vi).

 

Importer function

Importer_Panel.PNG

 

Viewer function

Viewer Panel.PNG

 

Requirements

  • LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code

  1. Open the project "Race Log Viewer 2012.lvproj"
  2. Open the main VI "Race Log Viewer 2012 NIVerfied.VI"
  3. Run VI
  4. Click Import DAT File.
  5. Select some data from the data folder.
  6. A dialogue box will appear which will ask you to insert data for each run in the log file. There should be 2 runs in the supplied data.
  7. Once the data has been imported, you can read the data back and move/scale the data using the View Data option in the main menu.

 

Additional Information or Reference

VI Snippet

Importer.png

 

Importer 2012.vi

Viewer.png

Viewer 2012.vi

 

**This document has been updated to meet the current required format for the NI Code Exchange.**


Larry Colvin
Associate Principal Engineer
Dyson Technology Ltd.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.