HMI Commands
Last updated
Last updated
When coding robotics application with Robpod Studio, a set of special functions called HMI Commands is available to interact with HMI graphical components from the robot program.
HMI Commands are usefull to Show/Hide or Enable/Disable HMI components.
Command Name | Description | Parameters |
---|---|---|
hmi_set_enabled(id, value) | Set enable status of UI component. This function can be used to enable or disable a HMI component while robot program is running. | id - String, Id of UI component. Identifier of UI component whose enable status you want to change. In the HMI editor, right-click on component and select Copy Id to get its string identifier. value - Bool, Enable status value to set for UI component. False will disable the component, True will enabled it. |
hmi_set_visible(id, value) | Set visibility of UI component. This function can be used to hide or show a HMI component while robot program is running. | id - String, Id of UI component. Identifier of UI component whose visibility you want to change. In the HMI editor, right-click on component and select Copy Id to get its string identifier. value - Bool, Visibility value to set for UI component. False will hide the component, True will display it. |