MotoTune:FAQ:Diagnostic Function Manager

From MotoHawk
Jump to navigationJump to search

The Diagnostic Function Manager(aka DFM) is a hook in Control Core designed to perform tests on a completed control algorithm. It still exists today in Control Core and enables users to put special functions in their code that is tunable from MotoTune.

Enabling the Diagnostic Function Manager in MotoTune

  1. Right click on your MotoTune Shortcut and choose properties
  2. Type -enabledfmbuttons after the text in the target box, and after the "" surrounding the .exe
  3. Hit OK and re-launch MotoTune from that shortcut

Using DFMs

Programming a module with DFMs

There are blocks in a special library in MotoHawk. These blocks are NOT available in MotoHawk_lib.mdl. In MATLAB:

 >> motohawk_smartcraft_lib


As of 2/12/2007 and before, if you enable DFMs using the technique described above, MotoTune will continuously ping DFMs 11 and 12 and thus consume some extra CAN bandwidth in the process.

FYI: this pinging of the DFM's appears to have always been the case with the special menu going back to older version (8.9.x.x; 8.10.x.x).

Update: An alternative method as of 8.13.1.280 is to check the Enable Special Functions checkbox during the installation