0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

概要

TunerStudioを、究める。
一から、iniファイルを作ってみる。

一から、iniファイルを作ってみる手順

セッション[Constants]、ECUの設定を変更するための(設定定数)の具体例を追加する。

[Constants]
    endianness      = little
    nPages          = 1
    page            = 1
    pageSize        = 12
    pageReadCommand = "C"
    pageValueWrite  = "W"
    REQ_FUEL        = scalar, F32,   0, "ms",       1.0, 0.0, 0.0, 50.0, 2
    CRANKING_FUEL   = scalar, F32,   4, "ms",       1.0, 0.0, 0.0, 100.0, 2
    FIXED_IGN_ANG   = scalar, F32,   8, "deg BTDC", 1.0, 0.0, -10.0, 60.0, 1

セッション[UserDefined]、それをTunerStudioの画面から調整するための(画面レイアウト)Dialog

[UserDefined]
    dialog = basicSettings, "Basic Engine Settings"
        field = "Required Fuel (Base Volume)", REQ_FUEL
        field = "Cranking Fuel (Startup)",     CRANKING_FUEL
    dialog = ignitionSettings, "Ignition Control"
        field = "Fixed Ignition Timing",       FIXED_IGN_ANG

セッション[Menu]、(上部メニュー)を作成する。

[Menu]
    menuDialog = main
        menu = "&ECU Tuning"
            subMenu = basicSettings,    "&Basic Settings...",    0, { 1 }
            subMenu = ignitionSettings, "&Ignition Settings...", 0, { 1 }

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?