Display Variable Event (Function-Call)
This MotoHawk™ block creates a display variable visible to instrumentation tools that causes the output event function-call to occur when the value is set.
Block ID
Display Variable Event Function-Call
Library
MotoHawk_lib/Extra Development Blocks
Description
This MotoHawk™ block creates a display variable visible to instrumentation tools that causes the output event function-call to occur when the value is set. The variable will automatically clear.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Event Name | Alpha-numeric text, single-quote enclosed | The name of the variable to be created. Must be unique and C-legal (no special characters, such as spaces, dashes or commas (underscore allowed). |
Access Level | 0-8 | Sets security level 1 lowest, 8 highest, for user access to write value. A setting of zero indicates unsecured access is allowed. |
Enumeration (Cell String, or Struct) | {'Go', 'Load Event'} Alpha-numeric text, bracket, 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 namesand 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. |
Instrumentation Group | Alpha-numeric text, single-quote enclosed. | Determines Folder name and hierarchy. Use "|" character between folder names to delineate subfolder structure |