Adding a Function
To add a function to a driver
Section titled “To add a function to a driver”-
From Solution Explorer, double-click the Driver Designer node under the Nimbus node.
-
The IVI-C Driver Designer tree view opens.
-
Expand the root node and locate and then select the desired branch in the hierarchy where the new function is desired.
-
Right-click on the selected node and choose Add Function.
-
A new function is added with a default name and the tree node enters edit mode.
-
With the function node still in edit mode, type the desired name of the function and hit the Enter key.
-
After the function is added, the IVI-C Function General Editor appears in the right portion of the IVI-C Driver Designer. See the help topic for that Item Editor for details on defining the function further.
-
Once a function has been added, parameters can be added to the function . See the topic Adding a Parameter for details on adding parameters.