When you have created the function object class and the c-code you open the configurator for the root volume and activate Update Classes. Then you open the plc editor for an PlcPgm object, create an instance of your functions object and connect the inputs and outputs to suitable objects. When the node is built and Proview runtime is started, you can open Plc Trace for the PlcPgm from the runtime navigator to se the result.
To connect an attribute of a function object to a Ge graph, you select the attribute, e g Factor, in the configurator and Ctrl / Doubleclick in Ge to the grapical element you want to connect it to. You will find the function object below the PlcPgm and below the window (W) object. Note that you normally can't show an Input attribute that is connected to another object in the plc-code as this is a pointer to the output or signal it is connected to. You have to show the output or the signal instead.
/Claes