Skip to content

Adding a Class

  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 Classes node and select Add Class.

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

    When choosing a class 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.
  6. The new class will be defined in a file named \<className\>.cs that Nimbus will automatically add to the driver project.

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