Click or drag to resize

Adding a Child Interface

To add a child interface to a driver

  1. From Solution Explorer, double-click the Driver Designer node under the Nimbus node.

  2. The Driver Designer opens as a tabbed document window. Select the IVI-COM tab.

  3. From the tree view expand the type library node for the instrument-specific hierarchy. This node is named "<driverName>Lib".

  4. Right-click on the desired location within the hierarchy and choose Add Child Interface.

  5. A new reference property is added with a default name and the tree node enters edit mode. Type the desired name for the reference property and hit the Enter key.

    An interface will be added to the driver with a name based on the chosen property name, as follows:

    I<driverName><propName>

    Note Note

    If the child interface is added at a level beneath a collection-style repeated capability Item property, then it is inherently part of the repeated capability. The interface will be a base interface of the repeated capability class and implemented on that class. Otherwise, the child interface is added as a base of the main driver class and implemented on that class.

  6. If IVI-C wrapper generation is enabled on the IVI-C Page of the Driver Settings Editor, then an IVI-C branch is automatically added to the IVI-C hierarchy as this point.

See Also

Download a complete CHM version of this documentation here.