Function
Overview
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2628349686-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fwnv17cpjDin2deSlOz0z%252Fuploads%252Fgit-blob-41ef00b62802587639ae3af3921b564a93699484%252Ffunctionnodeupdatedimage.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=317cf629&sv=1)
The Function Node is customized by the user. The number and Data Types of the Input and Output Sockets and the functionality are defined in the Node's own Logic, which is accessed by either double clicking the Node or the Function on the Function's list.
The Node's Logic has two special Nodes: Function Input and Function Output.
Functions can be exported and then imported in a different Project.
Inputs
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| Defined in the Function Input Node | Parameter received by the Function. |
Outputs
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Defined in the Function Output Node | Parameter returned by the Function. |
Creating a Function
To add a Function, click on the add icon on the top left of the Functions tab on the left panel of the Logic Editor and type in the desired name of the Function. Then, to open the Function's Logic Graph, double-click on the Function Node. There, the Logic of the Function can be defined.
See an example in the image below.
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2628349686-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fwnv17cpjDin2deSlOz0z%252Fuploads%252Fgit-blob-5ca4891f7f2f4b91731ff8a5fe0e353588a55a61%252FaddFunctions.gif%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=daa07175&sv=1)
Exporting and Importing a Function
For exporting a Function, right-click it on the Function's list or on the Node, select Export and save the Blueprints file.
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2628349686-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fwnv17cpjDin2deSlOz0z%252Fuploads%252Fgit-blob-b54f0a165fd67e6807f3658d60011b21890b182d%252Fexport-function.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=8c84321&sv=1)
![](https://docs.incari.com/~gitbook/image?url=https%3A%2F%2F2628349686-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252Fwnv17cpjDin2deSlOz0z%252Fuploads%252Fgit-blob-af925a0bd50d84df43ab89e4bfa7f33c5ee40383%252Fexport-function2.png%3Falt%3Dmedia&width=768&dpr=4&quality=100&sign=bb4d7c24&sv=1)
For importing a Function, right-click on the Function's list or on the Logic Graph, select Import, and find the Blueprints file.
See Also
Last updated