Properties for Status Simulation in IviDmm
When an IviDmm driver VI is called, the driver queries whether NISDMM_ATTR_SIMULATE_STATUS_CODE is enabled. If enabled, the driver gets the appropriate VI'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 VI's return status only if no other error or warning occurred before the VI ends. If the value of the simulation status code represents an error (has a negative value), then it is returned as the VI's return status only if no other error occurred before the VI ends.
The following IviDmm VIs do not support status code simulation:
- IviDmm Get Error
- IviDmm Clear Error
- IviDmm Get Next Interchange Warning
- IviDmm Reset Next Interchange Warning
- IviDmm Clear Next Interchange Warning
- IviDmm Get Next Coercion Record
Each VI supported by the IviDmm class driver has a corresponding property that determines the status code to return when status code simulation is enabled. The following table lists the status code properties and the VI for which they return a value. These properties are all of type ViInt32, non-readable, and non-channel based.
Note In the following table, the literal string NISDMM_ATTR_ precedes all property names. |
IviDmm Properties for Status Simulation
Property | VI |
---|---|
INIT_STATUS | IviDmm Initialize, IviDmm Initialize With Options |
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 Reset With Defaults |
DISABLE_STATUS | IviDmm Disable |
INVALIDATE_STATUS | IviDmm Invalidate All Attributes |
CONFIGURE_MEASUREMENT_STATUS | IviDmm Configure Measurement |
CONFIGURE_TRIGGER_STATUS | IviDmm Configure Trigger |
READ_STATUS | IviDmm Read |
FETCH_STATUS | IviDmm Fetch |
ABORT_STATUS | IviDmm Abort |
INITIATE_STATUS | IviDmm Initiate |
IS_OVER_RANGE_STATUS | IviDmm Is Over-Range |
CONFIGURE_AC_BANDWIDTH_STATUS | IviDmm Configure AC Bandwidth |
CONFIGURE_FREQUENCY_VOLTAGE_RANGE_STATUS | IviDmm Configure Frequency Voltage Range |
CONFIGURE_TRANSDUCER_TYPE_STATUS | IviDmm Configure Transducer Type |
CONFIGURE_FIXED_REF_JUNCTION_STATUS | IviDmm Configure Fixed Ref Junction |
CONFIGURE_THERMOCOUPLE_STATUS | IviDmm Configure Thermocouple |
CONFIGURE_RTD_STATUS | IviDmm Configure RTD |
CONFIGURE_THERMISTOR_STATUS | IviDmm Configure Thermistor |
CONFIGURE_MEAS_COMPLETE_DEST_STATUS | IviDmm Configure Meas Complete Dest |
CONFIGURE_MULTI_POINT_STATUS | IviDmm Configure MultiPoint |
READ_MULTI_POINT_STATUS | IviDmm Read MultiPoint |
FETCH_MULTI_POINT_STATUS | IviDmm Fetch MultiPoint |
CONFIGURE_TRIGGER_SLOPE_STATUS | IviDmm Configure Trigger Slope |
SEND_SOFTWARE_TRIGGER_STATUS | IviDmm Send Software Trigger |
GET_APERTURE_TIME_INFO_STATUS | IviDmm Get Aperture Time Info |
GET_AUTO_RANGE_VALUE_STATUS | IviDmm Get Auto Range Value |
CONFIGURE_AUTO_ZERO_MODE_STATUS | IviDmm Configure Auto Zero Mode |
CONFIGURE_POWER_LINE_FREQUENCY_STATUS | IviDmm Configure Power Line Frequency |