Click or drag to resize

Adding Support for an Instrument Class

To add support for an instrument class

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

  2. The Driver Settings Editor appears.

  3. Select the Instrument Classes tab.

  4. From the list of Available instrument classes, select the instrument class you wish to add to the driver, and select Add.

    Caution note Caution

    Adding support for an instrument class is a major operation and injects a large amount of code into the driver project and unit test project. Do not perform this operation until you are certain you wish to include support for the instrument class.

  5. When the operation completes, the newly added instrument classes will appear in the IVI.NET Driver Designer tree view. In addition, Nimbus performs a variety of tasks to add support for the selected instrument classes:

    • A reference to the instrument type library is added to the driver project.

    • Any repeated capabilities defined by the instrument class are added to the driver and any supporting interfaces, methods, properties, and classes are added to the driver hierarchy.

    • Implementation code for the methods and properties defined on the instrument class are added to the driver project.

    • Unit test code for exercising the instrument class methods and properties is added to the unit test project.

    • The driver installer is updated to register the driver with the IVI Configuration Store as supporting the selected instrument classes.

Important note Important

By default, all of the class capability groups defined by a selected instrument class are marked as being supported by the driver. After adding an instrument class to the driver, it is important to visit the Capability Groups Page of the Driver Settings Editor to select the appropriate capability groups.

Tip Tip

If the new instrument class contains a repeated capability that represents the same physical repeated capability as one already defined in the driver, then you may want to merge the repeated capabilities.

The remaining topics in this section discuss each wizard page separately.

In This Section
See Also

Download a complete CHM version of this documentation here.