ClassPrefix_revision_query
IVI Inherent Function
To form the ClassPrefix_ of the function name, use the prefix of the class driver with which you are working. For example, if you are working with the IviDmm class driver, use the prefix IviDmm_ to create the correct function name, IviDmm_revision_query.
C Function Prototype
ViStatus ClassPrefix_revision_query (ViSession vi, ViChar driverRev[], ViChar instrRev[])
Purpose
This function obtains the following information:
- The revision of the instrument driver.
- The firmware revision of the instrument you are currently using.
Parameters
Inputs | Type | Description |
vi | ViSession | The instrument handle that you obtain from the ClassPrefix_init or ClassPrefix_InitWithOptions functions. The handle identifies a particular IVI session. |
Outputs | Type | Description |
driverRev | ViChar array | Returns the instrument driver revision by returning the value of the CLASSPREFIX_ATTR_SPECIFIC_DRIVER_REVISION attribute. You must pass a ViChar array with at least 256 bytes. |
instrRev | ViChar array | Returns the instrument firmware revision by returning the value of the CLASSPREFIX_ATTR_INSTRUMENT_FIRMWARE_REVISION attribute. You must pass a ViChar array with at least 256 bytes. |