HMI Label Set
This MotoHawk™ block is part of the HMI Blockset and allows attributes of a graphic HMI (Human Machine Interface) Object that is of the Label Type to be set.
Block ID
HMI Label Set
Library
motohawk_HMI_lib
Description
This MotoHawk™ block allows attributes of a graphic HMI (Human Machine Interface) Object that is of the Label Type to be set.
The label object can be referenced via its name, which is specified at build time, or via its runtime ID.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Select Object by | Dropdown (Name, ID) | Specifes how the the Label Object that is to be affected by the attribute set is referenced. The Label Object can be referenced via its Name or via its runtime ID. |
Reference Object Name | Single quote enclosed alpha-numeric text |
The name of the Label Object to be affected by the attribute set. Only visible when Select Object by is Name. |
Reference Display Name | Single quote enclosed alpha-numeric text |
The name of the Display that the supplied object ID is associated with. The runtime ID can be recovered from the HMI Object Get block. Only visible when Select Object by is ID. |
Set attribute | Dropdown |
The attribute to be set. Text will set the Text of the referenced Label Object (be it by Name or ID). The underlying driver may reference the supplied Text directly if it is supplied via a static buffer. If the buffer is automatic (stack) then heap allocation will likely occur. |