Adding a Function
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.
When adding functions to the driver hierarchy, the name chosen is actually the display name of the function. This display name is used in the function panel (.fp) file and in displaying the hierarchy of functions and attributes in the Driver Designer. The actual function name used in the generated driver header file will be created from this display name by removing whitespace and other non-alphanumeric characters.
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.
Download a complete CHM version of this documentation here.