Properties for Controlling IviDmm Simulation

LabVIEW IVI Class Driver

Properties for Controlling IviDmm Simulation

Note  You can set Simulation Attributes in MAX on the Initial Settings tab of IVI Drivers»Advanced»Simulation Driver Sessions»nisIviClass or in the simulation interactive panels. Refer to National Instruments IVI Driver Help»Configuring Your System for more information.

Two sets of properties exist for use with the IviDmm Simulation driver. The following table describes properties that control behavior of the driver. Another table lists properties that simulate the status of specific driver VIs.

An IviDmm Simulator Setup Dialog Box exists to help you configure the measurement simulation for the IviDmm Simulator driver.

Properties for Controlling IviDmm Simulation

Name Data Type Access Applies to Description
INTERACTIVE_SIMULATION Boolean W No Specifies whether to set the driver to interactive mode. In interactive mode, the simulation driver uses pop-up user interface panels for getting information from you. Non-interactive mode is useful when you do not want the interactive panels to interrupt your test program.
SELF_TEST_CODE Integer W No Specifies the self-test code. When the IviDmm Self-Test VI is called, the self-test result parameter returns this value.
SELF_TEST_MSG String W No Specifies the self-test message. When the IviDmm Self-Test VI is called, the self-test message parameter returns this string.
ERROR_QUERY_CODE Integer W No Specifies the error-query code. When the IviDmm Error-Query VI is called, the error code parameter returns this value.
ERROR_QUERY_MSG String W No Specifies the error-query message. When the IviDmm Error-Query VI is called, the error message parameter returns this string.
DRIVER_REV_QUERY String W No Specifies the instrument driver revision message. When the IviDmm Revision Query VI is called, the instrument driver revision parameter returns this string.
INSTR_REV_QUERY String W No Specifies the firmware revision message. When the IviDmm Revision Query VI is called, the firmware revision parameter returns this string.
READING_BASE Double W No Specifies the base value of all computer generated measurements. Simulated measurements fall between the range of this value plus the value of the NISDMM_ATTR_READING_NOISE property and this value minus the value of the NISDMM_ATTR_READING_NOISE property.
Note  This property is ignored if the NISDMM_ATTR_FORCE_OVERRANGE property is set to TRUE.
READING_NOISE Double W No Specifies the reading noise of all computer generated measurements. Simulated measurements fall between the range of the value of the NISDMM_ATTR_READING_BASE property plus this value and the value of the NISDMM_ATTR_READING_BASE property minus the this value.
Note  This property is ignored if the NISDMM_ATTR_FORCE_OVERRANGE property is set to TRUE.
FORCE_OVERRANGE Boolean W No Specifies whether to return and overrange value for all computer generated measurements. When enabled, all measurement VIs simulate a measurement over-load condition by returning a value of IVI_VAL_NAN as the measurement and an overrange warning as the status code.
SIMULATE_STATUS_CODE Boolean W No Specifies whether to simulate return codes from the IviDmm driver VIs. Refer to the IviDmm Properties for Status Simulation table.

Related Topics

Setting Up Simulated Errors

Setting Up Simulation for VXIplug&play VIs