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
Section titled “To exclude a class-compliant function or attribute from the IVI-C driver”-
From Solution Explorer, double-click the Driver Designer node.
-
The IVI-C Designer opens as a tabbed document window.
-
Locate the IVI-defined function or attribute that you wish to exclude. Note that IVI-defined items appear with greyed text in the tree views, indicating that their definition cannot be modified.
-
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).
-
To restore an IVI-C function or attribute that has been excluded, right-click the item and choose Include in IVI-C Driver.