Admin Production ni-theme
Current Publication

Overview

IVI Compliance Package

Properties for Controlling IviCounter 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 IviCounter 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 IviCounter Simulator Setup Dialog Box to configure the measurement simulation for the IviCounter Simulator Driver.

Properties for Controlling IviCounter 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 IviCounter 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 IviCounter 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 IviCounter 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 IviCounter 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 IviCounter 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 IviCounter Revision Query VI is called, the firmware revision output returns this string.
MEASUREMENT_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 NISCOUNTER_ATTR_MEASUREMENT_NOISE property and this value minus the value of the NISCOUNTER_ATTR_MEASUREMENT_NOISE property.

Note Note  The unit of this value is determined by the Measurement Function property.
MEASUREMENT_NOISE Double W No Specifies the reading noise of all computer-generated measurements. Simulated measurements fall between the range of the value of the NISCOUNTER_ATTR_MEASUREMENT_BASE property plus this value and the value of the NISCOUNTER_ATTR_MEASUREMENT_BASE property minus this value.

Note Note  The unit of this value is determined by the Measurement Function property.
FORCE_UNCALIBRATED Boolean W No Specifies whether to return an uncalibrated warning for all computer-generated measurements. When enabled, all measurement VIs simulate an uncalibrated measurement condition by returning an uncalibrated warning as the status code.
FORCE_OVERRANGE Boolean W No Specifies whether to return an overrange warning for all computer-generated measurements. When enabled, all measurement VIs simulate an overload measurement condition by returning an overrange warning as the status code.
SIMULATE_STATUS_CODE Boolean W No Specifies whether to simulate return codes from the IviCounter driver VIs.

Related Topics

Setting Up Simulated Errors

Setting Up Simulation for VXIplug&play