MembersPage/FredrikJagenheim/GenBoardConfig/ConfigFile (2004-10-20 10:12:03)

The configuration file for MembersPage/FredrikJagenheim/GenBoardConfig is written in a meta text language called [YAML].

It's seperated into sections with help text and description, take the warmup section as example:\nÿ1ÿ

It can also handle things that need seperate calculation (the example here is wrong, but you get the idea):\n

Required fuel:
  order: 3
  help: No help here
  parts:
    -
      label: Required fuel
      unit: ms
      variable: req_fuel
      value: 60
      help: Injector pulse width [ms], required to supply the fuel for a
            single injection event at stoichiometric combustion, 100% 
            volumetric efficiency and standard temperature. Calculated 
            by special program which needs to be written!!!! 
      seperate:
        finish: "@engineDisplacement * @nCylinders * @target_afr *
                @injector_flow * @rated_pressure * @actual_pressure"
        parts:
          -
            label: Engine displacement
            unit: cid
            variable: engineDisplacement
            value: 0
          -
            label: Number of cylinders
            variable: nCylinders
            value: 0
[...]

And bitfields:\nÿ3ÿ

Hopefully in the end it will be pretty flexible system that can easily be adapted for future generations.

There's some things that need to be done, such as proper help text and descriptions and some calculations and guesses needs to be ironed out.

Unit conversion and such is up to the application to handle.