MotoHawk OBD Custom Field Default
This block allows the user to specify new values for specific custom fields for specific faults.
Block ID
OBD Custom Field Default
Library
MotoHawk OBD Fault Manager
Description
This block allows the user to specify new values for specific custom fields for specific faults. By default, the default values are set to the value given in the OBD Custom Field Definition. Many of these blocks can be used together. However, it is important to note that a particular Custom Field-Fault pair can only be specified once in the application.
The new defaults are specified via a m-script that has a specific format:
deflts.customfields{1}.name = '[[Custom Field Name]]';
deflts.customfields{1}.fault_name = '[[Fault Name]]';
deflts.customfields{1}.default_value = [[New Default Value]];
deflts.customfields{1}.enum = [[Optional Enumeration for proper display in the application ]];
An example can be viewed by typing at the command line :
>> edit motohawk_obdfault_custom_field_defaults_example
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Definition File | String | The expression that specifies the default value to fault mapping |