Admin Production ni-theme
Current Publication

Overview

IVI Compliance Package

Properties for Controlling IviACPwr Simulation

Note Note  You can set Simulation properties 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»IVI Driver Help Introduction»Configuring Your System for more information.

You can use two sets of properties with the IviACPwr Simulation Driver. One set of properties, described in the following table, controls the behavior of the driver. The other set of properties simulates the status of specific driver functions.

Use the IviACPwr Simulator Setup Dialog Box to configure the measurement simulation for the IviACPwr Simulator Driver.

Properties for Controlling IviACPwr 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 displays user interface panels in which to enter information. 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 IviACPwr Self-Test VI is called, the self-test result output returns this value.
SELF_TEST_MSG String W No Specifies the self-test message. When the IviACPwr Self-Test VI is called, the self-test result output returns this string.
ERROR_QUERY_CODE Integer W No Specifies the error-query code. When the IviACPwr Error-Query VI is called, the error code output returns this value.
ERROR_QUERY_MSG String W No Specifies the error-query message. When the IviACPwr Error-Query VI is called, the error message output returns this string.
DRIVER_REV_QUERY String W No Specifies the instrument driver revision message. When the IviACPwr Revision Query VI is called, the instrument driver revision output returns this string.
INSTR_REV_QUERY String W No Specifies the firmware revision message. When the IviACPwr Revision Query VI is called, the firmware revision output returns this string.
MEASUREMENT_BASE Double W Output Phase Specifies the base value of all computer generated measurements. Simulated measurements fall between the range of this value plus the value of the NISACPWR_ATTR_MEASUREMENT_NOISE property and this value minus the value of the NISACPWR_ATTR_MEASUREMENT_NOISE property.
MEASUREMENT_NOISE Double W Output Phase Specifies the reading noise of all computer-generated measurements. Simulated measurements fall between the range of the value of the NISACPWR_ATTR_MEASUREMENT_BASE property plus this value and the value of the NISACPWR_ATTR_MEASUREMENT_BASE property minus this value.
SIMULATE_STATUS_CODE Boolean W No Specifies whether to simulate return codes from the IviACPwr driver VIs.

Related Topics

Setting Up Simulated Errors

Setting Up Simulation for VXIplug&play