Click or drag to resize

Features Page, New IVI-COM Driver Wizard

The Features Page of the New IVI-COM Driver Wizard allows you to select various IVI driver features, such as adding an IVI-C wrapper.

Create an IVI-C wrapper

This setting controls whether Nimbus will generate an IVI-C wrapper for the driver.

For more information on IVI-C wrappers, see the topic Developing an IVI-C Driver.

Prefix

If IVI-C wrapper generation is enabled, this setting controls the IVI-C prefix for the driver. This prefix is very important as it controls the name of many items associated with the driver. The driver DLL itself will be named using this prefix, overriding the DLL name that would result from using the IVI-COM project name. The names of all IVI-C functions and attributes begin with this prefix. Additionally, the driver install location is governed by the prefix chosen here.

Important note Important

The IVI specifications require that the first two letters of this prefix match the official two-letter abbreviation assigned to the driver vendor by the IVI Foundation in the specification "VPP-9: Instrument Vendor Abbreviations" . If the driver vendor does not have an assigned two-letter prefix, one can be obtained from the IVI Foundation. Visit the IVI Foundation website for details.

Instrument class

Unlike IVI-COM drivers, IVI-C drivers can only support a single instrument class. This is a fundamental limitation of all IVI-C drivers and stems from the fact that IVI-C attributes are defined with numeric identifiers that are not unique across the various instrument classes. See the IVI Backgrounder section on Interchangeability for more information on this IVI-C limitation.

This setting selects which of the supported IVI-COM driver instrument classes should be supported by the IVI-C driver.

Automatically generate getter functions for IVI-C attributes

This setting controls whether getter functions are automatically generated when an IVI-C attribute is added to the driver.

Getter function prefix

This setting controls the name of automatically generated IVI-C attribute getter functions. For example, if an attribute named OUTPUT_VOLTAGE is created, and this setting is chosen to be Get, Nimbus will automatically generate an IVI-C getter function named GetOutputVoltage.

The name resulting from selections made here represent the initial name given to the getter function. Individual getter functions can be renamed as desired.

Automatically generate setter functions for IVI-C attributes

This setting controls whether setter functions are automatically generated when an IVI-C attribute is added to the driver.

Setter function prefix

This setting controls the name of automatically generated IVI-C attribute setter functions. For example, if an attribute named OUTPUT_VOLTAGE is created, and this setting is chosen to be Set, Nimbus will automatically generate an IVI-C setter function named SetOutputVoltage.

The name resulting from selections made here represent the initial name given to the setter function. Individual setter functions can be renamed as desired.

See Also

Download a complete CHM version of this documentation here.