Attributes for Status Simulation in IviDmm

CVI/LabWindows IVI Class Driver

Attributes for Status Simulation in IviDmm

When an IviDmm driver function is called, the driver queries whether NISDMM_ATTR_SIMULATE_STATUS_CODE is enabled. If enabled, the driver gets the appropriate function's simulation status code. If the value of the simulation status code represents a warning (has a positive value), then it is returned as the function's return status only if no other error or warning occurred before the function ends. If the value of the simulation status code represents an error (has a negative value), then it is returned as the function's return status only if no other error occurred before the function ends.

The following IviDmm functions do not support status code simulation:

Each function supported by the IviDmm class driver has a corresponding attribute that determines the status code to return when status code simulation is enabled. The following table lists the status code attributes and the function for which they return a value. These attributes are all of type ViInt32, non-readable, and non-channel based.

Note  In the following table, the literal string NISDMM_ATTR_ precedes all attribute names.

IviDmm Attributes for Status Simulation

Attribute Function
INIT_STATUS IviDmm_init, IviDmm_InitWithOptions
CLOSE_STATUS IviDmm_close
RESET_STATUS IviDmm_reset
SELF_TEST_STATUS IviDmm_self_test
ERROR_QUERY_STATUS IviDmm_error_query
ERROR_MESSAGE_STATUS IviDmm_error_message
REVISION_QUERY_STATUS IviDmm_revision_query
RESET_DEFAULT_STATUS IviDmm_ResetWithDefaults
DISABLE_STATUS IviDmm_Disable
INVALIDATE_STATUS IviDmm_InvalidateAllAttributes
CONFIGURE_MEASUREMENT_STATUS IviDmm_ConfigureMeasurement
CONFIGURE_TRIGGER_STATUS IviDmm_ConfigureTrigger
READ_STATUS IviDmm_Read
FETCH_STATUS IviDmm_Fetch
ABORT_STATUS IviDmm_Abort
INITIATE_STATUS IviDmm_Initiate
IS_OVER_RANGE_STATUS IviDmm_IsOverRange
CONFIGURE_AC_BANDWIDTH_STATUS IviDmm_ConfigureACBandwidth
CONFIGURE_FREQUENCY_VOLTAGE_RANGE_STATUS IviDmm_ConfigureFrequency VoltageRange
CONFIGURE_TRANSDUCER_TYPE_STATUS IviDmm_ConfigureTransducer Type
CONFIGURE_FIXED_REF_JUNCTION_STATUS IviDmm_ConfigureFixedRef Junction
CONFIGURE_THERMOCOUPLE_STATUS IviDmm_ConfigureThermocouple
CONFIGURE_RTD_STATUS IviDmm_ConfigureRTD
CONFIGURE_THERMISTOR_STATUS IviDmm_ConfigureThermistor
CONFIGURE_MEAS_COMPLETE_DEST_STATUS IviDmm_ConfigureMeasCompleteDest
CONFIGURE_MULTI_POINT_STATUS IviDmm_ConfigureMultiPoint
READ_MULTI_POINT_STATUS IviDmm_ReadMultiPoint
FETCH_MULTI_POINT_STATUS IviDmm_FetchMultiPoint
CONFIGURE_TRIGGER_SLOPE_STATUS IviDmm_ConfigureTriggerSlope
SEND_SOFTWARE_TRIGGER_STATUS IviDmm_SendSoftwareTrigger
GET_APERTURE_TIME_INFO_STATUS IviDmm_GetApertureTimeInfo
GET_AUTO_RANGE_VALUE_STATUS IviDmm_GetAutoRangeValue
CONFIGURE_AUTO_ZERO_MODE_STATUS IviDmm_ConfigureAutoZeroMode
CONFIGURE_POWER_LINE_FREQUENCY_STATUS IviDmm_ConfigurePowerLine Frequency