MotoHawk:Blocks:Display Variable Event Function Call

From MotoHawk
Jump to navigationJump to search

Display Variable Event (Function-Call)

This MotoHawk™ block creates a display variable in MotoTune which causes the output event function-call to occur when the popup is set.

Block ID

Display Variable Event Function-Call

Library

MotoHawk_lib/Extra Development Blocks

Description

Display Variable Event Function Call.PNG

Creates a Display variable in MotoTune which causes the output event function-call to occur when the popup is set. The Display variable will automatically clear.

Block Parameters

Parameter Field Values Comments/Description
Event Name Alpha-numeric text, single-quote enclosed Name as displayed in block, MotoTune, for block. No special characters, such as spaces, dashes, commas (underscore allowed).
Access Level 1-4 Sets security level for use in MotoTune.
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.
MotoTune Group Alpha-numeric text, single-quote enclosed. Determines Folder name and hierarchy as displayed in MotoTune. Use "|" character between folder names to delineate subfolder structure.