Basic Function Blocks¶
Raise Custom Exception¶
Raises a Python exception with the entered name.
Name | Data type | Description | |
---|---|---|---|
Inputs | Error message | String | Name of the exception to be raised. If empty, a DEFAULT exception will be raised. |
Outputs | - |
Stop Program¶
Aborts the currently running program.
Name | Data type | Description | |
---|---|---|---|
Inputs | - | ||
Outputs | - |
User Dialog¶
Creates a message with text and one or several buttons to display to the user. The program execution is paused until the message is closed. One of the buttons of the message has to be clicked to continue the program execution. The result code of this button is returned as output of the function block.
Name | Data type | Description | |
---|---|---|---|
Inputs | Message | String | Text displayed in the message. |
Button Text | String | The text on this button. | |
Button Result Code | String | The result code of this button. | |
Outputs | Result | String | The result code of the clicked button. |
User Text Input¶
Displays a message and request a text input by the user. The program execution is paused until the message is closed. The entered text is returned as output of the function block.
Name | Data type | Description | |
---|---|---|---|
Inputs | Message | String | Text displayed in the message. |
Outputs | Result | String | Text entered by user. |
Wait¶
Waits a specified time before continuing in the program flow.
Name | Data type | Description | |
---|---|---|---|
Inputs | Time | Float | The time in seconds which the function block delays the program progress. |
Outputs | - |