Absolute Override
This MotoHawk™ block enables run-time modification and observation of wire values with a suitable Instrumentation tool.
Block ID
motohawk_override_abs
Library
MotoHawk_lib/Calibration and Probing
Description
Normally the block behaves as a simple pass-through. The output value may be forced to a new value and the input value ignored using an Instrumentation tool.
*NOTE: Engineering Value = (Raw Module Value*Gain)^Exp)+Offset.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Name | Alpha-numeric text, single-quote enclosed | The name of the override. Variables exposed to the instrumentation tools will be prefixed with this name. The name should be unique and C-legal (no special characters, such as spaces, dashes or commas (underscore allowed). |
Default Value | (type as set by View Value as) | Preset applied value for block. |
Name Source | Select source for Name parameter | |
Use Parameter | Use Name field text | |
Input Wire Name | Take name from input wire name | |
Output Wire Name | Take name from output wire name | |
Read Access Level | 0-8 | Sets security level 1 lowest, 8 highest, for user access to read value. A setting of zero indicates unsecured access is allowed. |
Override Access Level | 0-8 | Sets security level 1 lowest, 8 highest, for user access to override value. A setting of zero indicates unsecured access is allowed. |
View Value as | Sets "Default Value" data type | |
Number | Numeric value | |
Enumeration | Enables enumeration - which selects a specific existing parameter by exact name. | |
Text | Text string | |
Enumeration (Cell String, or Struct) | Alpha-numeric text, single-quote enclosed |
Field enabled when Enumeration is selected under "View Value as." Enter
term of defined entity to be mapped. Cell String: A cell array of strings such as {'Off', 'On'} may be used to define the names of enumerated values. In this case, the values start with 0 and increment by one. This is especially useful for defining names for Boolean flags like 'On' and 'Off'. 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 values of an enumerated type. For example: struct('name', {'Off', 'On'}, 'value', {0,1}). If the 'value' field is missing, then the values start with 0 and increment by one, just like with the Cell String format. |
Help Text | Alpha-numeric text, single-quote enclosed | Enter text to describe block usage per needs. |
Units | Alpha-numeric text, single-quote enclosed | The engineering units associated with this variable. |
Minimum Value | Numeric Value | Sets lower end of allowable range for value |
Maximum Value | Numeric Value | Sets higher end of allowable range for value |
Precision | Numeric value, single-quote enclosed | Set the precision of the variable as displayed in an Instrumentation Tool by entering a value '1.x' where "x" is the number of decimal places requested. Default is two decimal places. |
Gain* | Numeric Value | Multiplier applied (Default is 1) to the raw value used in calculation of the engineering value. |
Offset* | Numeric Value | Constant added (Default is 0) to the raw value calculations to result in the engineering value. |
Exponent* | Numeric Value | Exponent applied (Default is 1) to the (raw value*gain) product used in calculating the engineering value. |
Instrumentation Group | Alpha-numeric text, single-quote enclosed. | Determines Folder name and hierarchy to be used by an Instrumentation Tool. Use "|" character between folder names to delineate subfolder structure. |