Click or drag to resize

Excluding Functions and Attributes from an Instrument Class

With IVI-C drivers, functions and attributes defined in the instrument class but not supported by the instrument should not be exposed from the driver at all. Nimbus supplies a special command to exclude specific IVI-defined functions and attributes from an IVI-C driver. This prevents the function or attribute definition from appearing in the header file or from being exported from the driver DLL.

To exclude a class-compliant function or attribute from the IVI-C driver

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

  2. The IVI-C Designer opens as a tabbed document window.

  3. Locate the IVI-defined function or attribute that you with to exclude. Note that IVI-defined items appear with greyed text in the tree views, indicating that their definition cannot be modified.

  4. Right-click on the function or attribute and choose Exclude from IVI-C Driver. The node now appears with a strikethrough.

    Nimbus will remove the implementation code for the function or attribute. It will also remove the function or attribute from the IVI-C driver header file (.h), import library (.lib), main DLL (.dll), function panel (.fp), and attribute information file (.sub).

    Caution note Caution

    When you exclude an IVI-C function or attribute, Nimbus will automatically delete the implementation code. Be sure no code of interest remains before executing this command.

  5. To restore an IVI-C function or attribute that has been excluded, right-click the item and choose Include in IVI-C Driver.

Download a complete CHM version of this documentation here.