NI DMM Inherent IVI Attributes - ni/grpc-device GitHub Wiki
- NIDMM_ATTRIBUTE_RESOURCE_DESCRIPTOR
- NIDMM_ATTRIBUTE_LOGICAL_NAME
- NIDMM_ATTRIBUTE_CHANNEL_COUNT
- NIDMM_ATTRIBUTE_SPECIFIC_DRIVER_PREFIX
- NIDMM_ATTRIBUTE_INSTRUMENT_FIRMWARE_REVISION
- NIDMM_ATTRIBUTE_INSTRUMENT_MANUFACTURER
- NIDMM_ATTRIBUTE_INSTRUMENT_MODEL
- NIDMM_ATTRIBUTE_INSTR_SERIAL_NUMBER
- NIDMM_ATTRIBUTE_GROUP_CAPABILITIES
- NIDMM_ATTRIBUTE_SUPPORTED_INSTRUMENT_MODELS
- NIDMM_ATTRIBUTE_SPECIFIC_DRIVER_CLASS_SPEC_MAJOR_VERSION
- NIDMM_ATTRIBUTE_SPECIFIC_DRIVER_CLASS_SPEC_MINOR_VERSION
- NIDMM_ATTRIBUTE_SPECIFIC_DRIVER_DESCRIPTION
- NIDMM_ATTRIBUTE_SPECIFIC_DRIVER_VENDOR
- NIDMM_ATTRIBUTE_CACHE
- NIDMM_ATTRIBUTE_DRIVER_SETUP
- NIDMM_ATTRIBUTE_INTERCHANGE_CHECK
- NIDMM_ATTRIBUTE_QUERY_INSTRUMENT_STATUS
- NIDMM_ATTRIBUTE_RANGE_CHECK
- NIDMM_ATTRIBUTE_RECORD_COERCIONS
- NIDMM_ATTRIBUTE_SIMULATE
- NIDMM_ATTRIBUTE_SPECIFIC_DRIVER_MAJOR_VERSION
- NIDMM_ATTRIBUTE_SPECIFIC_DRIVER_MINOR_VERSION
- NIDMM_ATTRIBUTE_SPECIFIC_DRIVER_REVISION
- NIDMM_ATTRIBUTE_ID_QUERY_RESPONSE
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string containing the resource descriptor of the instrument.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string containing the logical name of the instrument.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | RO | None | None |
Indicates the number of channels that the specific instrument driver supports. For each attribute for which the IVI_VAL_MULTI_CHANNEL flag attribute is set, the IVI engine maintains a separate cache value for each channel.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
The prefix for the specific instrument driver. The name of each user-callable function in this driver starts with this prefix. The prefix can be up to a maximum of eight characters.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | niDMM_revision_query |
A string containing the instrument firmware revision number.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string containing the manufacturer of the instrument.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string containing the instrument model.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string containing the serial number of the instrument. This attribute corresponds to the serial number label that is attached to most products.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string containing the capabilities and extension groups supported by the specific driver.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string containing the instrument models supported by the specific driver.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | RO | None | None |
The major version number of the class specification for the specific driver.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | RO | None | None |
The minor version number of the class specification for the specific driver.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string containing a description of the specific driver.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string containing the vendor of the specific driver.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViBoolean | R/W | None | [InitWithOptions |
Specifies whether to cache the value of attributes. When caching is enabled, the instrument driver keeps track of the current instrument settings and avoids sending redundant commands to the instrument. Thus, it significantly increases execution speed. The instrument driver can choose to always cache or to never cache particular attributes regardless of the setting of this attribute. The default value is VI_TRUE (1). Use the niDMM_InitWithOptions function to override this setting.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | niDMM_InitWithOptions |
This attribute indicates the Driver Setup string that the user specified when initializing the driver. Some cases exist where the end-user must specify instrument driver options at initialization time. An example of this is specifying a particular instrument model from among a family of instruments that the driver supports. This is useful when using simulation. The end-user can specify driver-specific options through the DriverSetup keyword in the Option_String parameter in niDMM_InitWithOptions. If the user does not specify a Driver Setup string, this attribute returns an empty string.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViBoolean | R/W | None | niDMM_GetNextInterchangeWarning |
Specifies whether to perform interchangeability checking and log interchangeability warnings when you call niDMM functions. Interchangeability warnings indicate that using your application with a different instrument might cause different behavior. Use niDMM_GetNextInterchangeWarning to clear the list of interchangeability warnings without reading them. Interchangeability checking examines the attributes in a capability group only if you specify a value for at least one attribute within that group. Interchangeability warnings can occur when an attribute affects the behavior of the instrument and you have not set that attribute, or the attribute has been invalidated since you set it.
VI_FALSE (default) | 0 | False |
---|---|---|
VI_TRUE | 1 | True |
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViBoolean | R/W | None | niDMM_InitWithOptions |
Specifies whether the instrument driver queries the instrument status after each operation. Querying the instrument status is very useful for debugging. After the user program is validated, this attribute can be set to VI_FALSE (0) to disable status checking and maximize performance. The instrument driver can choose to ignore status checking for particular attributes regardless of the setting of this attribute. The default value is VI_TRUE (1). Use niDMM_InitWithOptions to override this setting.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViBoolean | R/W | None | niDMM_InitWithOptions |
Specifies whether to validate attribute values and function parameters. If enabled, the instrument driver validates the parameter values passed to driver functions. Range checking parameters is very useful for debugging. After the user program is validated, this attribute can be set to VI_FALSE (0) to disable range checking and maximize performance. The default value is VI_TRUE (1). Use the niDMM_InitWithOptions function to override this setting.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViBoolean | R/W | None | None |
Specifies whether the IVI engine keeps a list of the value coercions it makes for ViInt32 and ViReal64 attributes. Call niDMM_GetNextCoercionRecord function to override this setting.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViBoolean | R/W | None | [InitWithOptions |
Specifies whether or not to simulate instrument driver I/O operations. If simulation is enabled, instrument driver functions perform range checking and call IVI Get and Set functions, but they do not perform instrument I/O. For output parameters that represent instrument data, the instrument driver functions return calculated values. The default value is VI_FALSE (0). Use the [InitWithOptions function to override this setting.
Note Simulate can only be set within the [InitWithOptions function. The attribute value cannot be changed outside of the function
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | RO | None | None |
Returns the major version number of this instrument driver.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViInt32 | RO | None | None |
The minor version number of this instrument driver.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string that contains additional version information about this instrument driver.
Data type |
Access | Coercion | High-Level Function |
---|---|---|---|
ViString | RO | None | None |
A string containing the type of instrument used in the current session.