MotoHawk:Blocks:Fault Name
From MotoHawk
Jump to navigationJump to searchFault Name
This MotoHawk™ block returns the name of a fault, given a fault reference using the 'fault_T' data type.
Block ID
motohawk_fault_name
Library
MotoHawk_lib/Fault Management Blocks
Description
Use this block to put out a fault name; name string is returned as a null-terminated vector of uint8 bytes, using ASCII characters. Supply the width of the output in the available parameter, typically set to: "size(char(motohawk_get_faults),2)+1" This expression gives the maximum name length, plus one for the null-terminator.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Output Width | Numeric or as defined via expression | Typically set to: "size(char(motohawk_get_faults),2)+1" This expression gives the maximum name length, plus one for the null-terminator. |