MotoHawk Toolkit Integration DAB Function Response Set

This block defines the result of the DAB Function which has been requested by Toolkit.

Block ID

Toolkit Integration DAB Function Response Set

Library

MotoHawk_Protocols_lib

Description

This block provides the result after a ToolKit request to initiate a DAB Function was initiated.

The "Response" input port should be set to zero to indicate a successful result. Otherwise, the input port should be set to one of the values defined by the "Negative Error Codes."

Block Parameters

Parameter Field Values Comments/Description
Function Name String (unique identifier) Links to the Name parameter of the DAB Function Definition block
Negative Error Codes Cell String or Struct This may be a cell array of strings such as {'Error 1', 'Error 2'} to define the names of enumerated values which will be displayed in Toolkit. In this case, the values start with -1 and decrement by one. Struct: A Matlab struct array containing a 'name' field, and optionally a 'value' field may be used to define the names and explicitly define the negative values of an enumerated type. For example: struct('name', {'Error: Shorted', 'Error: Open Circuit'}, 'value', {-10,-20}). Note that only integer values may be used with enumerations. Floating point types such as double and single are not allowed.