Inherent IVI Capabilities

National Instruments IVI Driver

Inherent IVI Capabilities

Inherent IVI Capabilities are the functions and attributes that all IVI class drivers implement.

Note  To complete the function names in the following table for any one of the IVI class drivers, replace ClassPrefix with one of the class prefixes: IviDmm, IviDCPwr, IviFgen, IviScope, or IviSwtch. For example, for the digital multimeter DMM class ClassPrefix Initialize VI becomes IviDmm Initialize VI in LabVIEW, and ClassPrefix_init becomes IviDMM_init in LabWindows/CVI.

Use the following links to browse the tables, which show the inherent IVI VIs/functions and properties/attributes.

Inherent IVI VIs/Functions Inherent IVI Properties/Attributes

Inherent IVI VIs/Functions

LabVIEW Inherent VI LabWindows/CVI Inherent Function
Initialize/Close—Contains VIs and functions that initialize and close instrument driver sessions.
ClassPrefix Initialize

ClassPrefix Initialize With Options

ClassPrefix Close

ClassPrefix_init

ClassPrefix_InitWithOptions

ClassPrefix_close

Set, Get, and Check Attribute/Property—Contains VIs and functions that set, get, and check the values of attributes. Type-safe functions exist for each attribute data type. The possible data types are ViInt32, ViReal64, ViString, ViBoolean, and ViSession. You insert one of these values in place of the place holder, <type>.
Use Property Node VI to get and set attributes.  You can not check attributes in LabVIEW.







ClassPrefix Invalidate All Attributes

ClassPrefix_SetAttribute<type>

ClassPrefix_GetAttribute<type>

ClassPrefix_CheckAttribute<type>

ClassPrefix_InvalidateAllAttributes

Utility—VIs and functions that control common instrument operations. These functions include many of the functions that VXIplug&play requires, such as reset, self-test, revision query, error query, and error message. This class also contains functions that access IVI error information, access interchangeability warnings, access coercion records, and lock the instrument driver session.
ClassPrefix Reset

ClassPrefix Self-Test

ClassPrefix Revision Query

ClassPrefix Error-Query

ClassPrefix Error Message

ClassPrefix Reset With Defaults

ClassPrefix Disable

ClassPrefix_reset

ClassPrefix_self_test

ClassPrefix_revision_query

ClassPrefix_error_query

ClassPrefix_error_message

ClassPrefix_ResetWithDefaults

ClassPrefix_Disable

ClassPrefix_GetSpecificDriverCHandle

Error Info Subcategory
Use the General Error Handler VI to view errors, which is the standard LabVIEW approach. ClassPrefix_GetError

ClassPrefix_ClearError



Interchangeability Info Subcategory
ClassPrefix Get Next Interchange Warning

ClassPrefix Reset Interchange Check

ClassPrefix Clear Interchange Warnings

ClassPrefix_GetNextInterchangeWarning

ClassPrefix_ResetInterchangeCheck

ClassPrefix_ClearInterchangeWarnings



Coercion Info Subcategory
ClassPrefix Get Next Coercion Record ClassPrefix_GetNextCoercionRecord


Locking Subcategory
You cannot lock IVI sessions in LabVIEW. ClassPrefix_LockSession

ClassPrefix_UnlockSession



Note   Use VIs and properties when you configure IVI drivers in LabVIEW. Use functions and attributes when you configure IVI drivers in LabWindows/CVI.

The following table shows the inherent IVI properties and attributes.

Inherent IVI Properties/Attributes

LabVIEW Property LabWindows/CVI Attribute
User Options—Attributes that you can set to affect the behavior of class drivers and specific drivers.
Range Check CLASSPREFIX_ATTR_RANGE_CHECK
Query Instrument Status CLASSPREFIX_ATTR_QUERY_INSTRUMENT_STATUS
Cache CLASSPREFIX_ATTR_CACHE
Simulate CLASSPREFIX_ATTR_SIMULATE
Use Specific Simulation CLASSPREFIX_ATTR_USE_SPECIFIC_SIMULATION
Record Value Coercions CLASSPREFIX_ATTR_RECORD_COERCIONS
Interchange Check CLASSPREFIX_ATTR_INTERCHANGE_CHECK
SPY CLASSPREFIX_ATTR_SPY
Class Driver Identification—Attributes that describe the version, supplier, and prefix of the class driver.
Class Driver Description CLASSPREFIX_ATTR_CLASS_DRIVER_DESCRIPTION
Class Driver Prefix CLASSPREFIX_ATTR_CLASS_DRIVER_PREFIX
Class Driver Vendor CLASSPREFIX_ATTR_CLASS_DRIVER_VENDOR
Class Driver Revision CLASSPREFIX_ATTR_CLASS_DRIVER_REVISION
Class Driver Class Specification Major Version CLASSPREFIX_ATTR_CLASS_DRIVER_CLASS_SPEC_MAJOR_VERSION
Class Driver Class Specification Minor Version CLASSPREFIX_ATTR_CLASS_DRIVER_CLASS_SPEC_MINOR_VERSION
Specific Driver Identification—Attributes that describe the version, supplier, location, and prefix of the specific driver.
Specific Driver Description CLASSPREFIX_ATTR_SPECIFIC_DRIVER_DESCRIPTION
Specific Driver Prefix CLASSPREFIX_ATTR_SPECIFIC_DRIVER_PREFIX
Specific Driver Locator CLASSPREFIX_ATTR_SPECIFIC_DRIVER_LOCATOR
Specific Driver Vendor CLASSPREFIX_ATTR_SPECIFIC_DRIVER_VENDOR
Specific Driver Revision CLASSPREFIX_ATTR_SPECIFIC_DRIVER_REVISION
Specific Driver Class Specification Major Version CLASSPREFIX_ATTR_SPECIFIC_DRIVER_CLASS_SPEC_MAJOR_VERSION
Specific Driver Class Specification Minor Version CLASSPREFIX_ATTR_SPECIFIC_DRIVER_CLASS_SPEC_MINOR_VERSION

Specific Driver Capabilities Category—Attributes that describe various capabilities of the instrument controlled by the instrument driver.
Supported Instrument Models CLASSPREFIX_ATTR_SUPPORTED_INSTRUMENT_MODELS
Group Capabilities CLASSPREFIX_ATTR_GROUP_CAPABILITIES
Function Capabilities CLASSPREFIX_ATTR_FUNCTION_CAPABILITIES
Channel Count CLASSPREFIX_ATTR_CHANNEL_COUNT

Instrument Identification Attributes that provide model and firmware information about the instrument controlled by the instrument driver.
Manufacturer CLASSPREFIX_ATTR_INSTRUMENT_MANUFACTURER
Model CLASSPREFIX_ATTR_INSTRUMENT_MODEL
Firmware Revision CLASSPREFIX_ATTR_INSTRUMENT_FIRMWARE_REVISION

Advanced Session Information—Attributes that provide resource and I/O session information regarding the class and specific driver.
Logical Name CLASSPREFIX_ATTR_LOGICAL_NAME
Resource Descriptor CLASSPREFIX_ATTR_IO_RESOURCE_DESCRIPTOR
Driver Setup CLASSPREFIX_ATTR_DRIVER_SETUP