Click or drag to resize

Adding an Interface

To add a new interface to the 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. Right-click on the Interfaces node and select Add Interface.

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

    When choosing an interface name, the following naming rules apply:

    • The name must be unique within the driver.

    • The name must contain only alphanumeric characters, and must start with an alphabetic character.

    • Spaces are not allowed.

    Note Note

    To define a generic interface, specify the generic type parameter(s) as part of the interface name, for example IAcme4321DataSet<T, U>.

    Refer to Understanding Type Name Resolution in Nimbus for more information about type name resolution and generics in Nimbus.

  6. The new interface definition will be added to Interfaces.cs.

    After the interface is added, the Interface General Editor appears in the right portion of the IVI.NET Driver Designer.

See Also

Download a complete CHM version of this documentation here.