Embedded Python Block: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
== Parameters == | == Parameters == | ||
You decide the parameters of your custom block =) | |||
== Example Flowgraph == | == Example Flowgraph == | ||
Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo. | Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo. |
Revision as of 18:10, 16 September 2019
Allows you to create a new (custom) block, in Python, without needing to make and install an Out of Tree Module (OOT). The example block simply takes the input stream and multiplies it by a constant.
For some platforms the open with Default Text Editor button may do nothing, in which case you have to manually choose the text editor.
When you update the Python code, as long as there are no errors the block will automatically update. If you are adding new code and it seems like nothing is changing, there is probably an error in your code.
Parameters
You decide the parameters of your custom block =)
Example Flowgraph
Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.