Click or drag to resize

IVI-C Page, IVI-COM Driver Settings

IVI-C wrapper support

The IVI-C Page is used to enable or disable the generation of an IVI-C wrapper for the IVI-COM driver.

Add/Remove button

Use this button to enable/disable generation of the IVI-C wrapper.

IVI-C 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.

IVI-C 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.

Code generation
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.

Synchronize Code

Use this button to bring up a dialog that allows you to update all getter and setter functions with the current selections made on this page.

See Also

Download a complete CHM version of this documentation here.