Binding a DLL to a userFunction block

If you do not want your custom block to appear in a menu, you can bind the corresponding DLL to a userFunction block. Embed calls the DLL each time the block is executed.

To bind a DLL to a userFunction

1.    Under Blocks > Extensions, drag a userFunction block into your diagram.

2.    Right-click userFunction, or choose Edit > Block Properties and click on it.

3.    In DLL File Name, enter the name of the DLL file containing the user function.

4.    In Base Function Name, enter the base name of the function.

5.    Click OK, or press ENTER.