Hardware Action

This block will apply the hardware action or actions to the selected resource when triggered.

Block ID

Hardware Action

Library

motohawk_Action_lib

Description

This block will apply the hardware action or actions to the selected resource when triggered. The order that multiple actions are applied to the hardware is implementation specific. It is recommended to use multiple blocks if the order is important.

Block Parameters

Parameter Field Values Comments/Description
Name Alpha-numeric text, single-quote enclosed C-legal name that is to be assigned to the action(s). A autogenerated name is created if the field is set to empty ([]).
Resource Drop-down list The resource that the action(s) are applied to
Unsupported Action Treatment Dropdown Specify how the block should behave when an unsupported action is encountered.
Unsupported Action Treatment Setting Edit A value of 'Ignore', 'Warn' or 'Error'. Typically used when a workspace variable is to supply the setting. Only visible when "Specify via Edit Dialog" has been selected by the Unsupported Action Treatment drop down.
Action Visibility Filter Dropdown Provides options to filter (hide) actions that are not applicable to a particular filter setting.

The filter is used to assist the developer in selecting related attributes and does not impact code generation.
Hide Unsupported Actions Checkbox Unsupported actions won't be displayed on the mask when checked. A checked action will still be implemented.

The checkbox is used to assist the developer in selecting attributes that are supported and does not impact code generation.
Reset Check to populate action on the block Resets the selected Resource.
Clear Check to populate method on the block Clears the hardware condition associated with selected Resource. For instance, a condition that is shutting down the hardware could be cleared by this action.