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 IVI.NET Driver Designer tree view opens.

  3. Expand the root node, which will be named after the driver assembly (e.g.: Acme.Acme4321).

  4. Expand the Hierarchy node.

  5. Right-click on the desired location within the hierarchy and choose Add Child Interface. You can add a new child interface directly below the Hierarchy node, or any user-defined interface reference property defined within the Hierarchy.

  6. A new interface 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>

    This new interface will be defined in Interfaces.cs.

    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.

See Also

Download a complete CHM version of this documentation here.