Admin Production ni-theme
Current Publication

Status Simulation Properties

IVI Compliance Package

Properties for Status Simulation in IviCounter

When an IviCounter driver VI is called, the driver queries whether NISCOUNTER_ATTR_SIMULATE_STATUS_CODE is enabled. If NISCOUNTER_ATTR_SIMULATE_STATUS_CODE is enabled, the driver gets the simulation status code for the appropriate VI. If the value of the simulation status code represents a warning, meaning it has a positive value, then the status code 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, meaning it has a negative value, then the status code is returned as the VI's return status only if no other error occurred before the VI ends.

The following IviCounter VIs do not support status code simulation:

Each VI supported by the IviCounter 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 the property returns a value. These properties are all of type 32-bit signed integers, non-readable, and non-channel based.

Note Note  In the following table, the literal string NISCOUNTER_ATTR_ precedes all property names.

IviCounter Properties for Status Simulation

Property VI
INIT_STATUS IviCounter Initialize, IviCounter Initialize With Options
CLOSE_STATUS IviCounter Close
RESET_STATUS IviCounter Reset
SELF_TEST_STATUS IviCounter Self-Test
ERROR_QUERY_STATUS IviCounter Error-Query
ERROR_MESSAGE_STATUS IviCounter Error Message
REVISION_QUERY_STATUS IviCounter Revision Query
RESET_DEFAULT_STATUS IviCounter Reset With Defaults
DISABLE_STATUS IviCounter Disable
INVALIDATE_STATUS IviCounter Invalidate All Attributes
GET_CH_NAME_STATUS IviCounter Get Channel Name
CONFIGURE_CHANNEL_STATUS IviCounter Configure Channel
CONFIGURE_CHANNEL_LEVEL_STATUS IviCounter Configure Channel Level
CONFIGURE_CHANNEL_SLOPE_STATUS IviCounter Configure Channel Slope
CONFIGURE_CHANNEL_FILTER_ENABLED_STATUS IviCounter Configure Channel Filter Enabled
CONFIGURE_FREQUENCY_STATUS IviCounter Configure Frequency
CONFIGURE_FREQUENCY_MANUAL_STATUS IviCounter Configure Frequency Manual
CONFIGURE_FREQUENCY_WITH_APERTURE_TIME_STATUS IviCounter Configure Frequency With Aperture Time
CONFIGURE_PERIOD_STATUS IviCounter Configure Period
CONFIGURE_PERIOD_WITH_APERTURE_TIME_STATUS IviCounter Configure Period With Aperture Time
CONFIGURE_PULSE_WIDTH_STATUS IviCounter Configure Pulse Width
CONFIGURE_DUTY_CYCLE_STATUS IviCounter Configure Duty Cycle
CONFIGURE_EDGE_TIME_STATUS IviCounter Configure Edge Time
CONFIGURE_EDGE_TIME_REFERENCE_LEVELS_STATUS IviCounter Configure Edge Time Reference Levels
CONFIGURE_FREQUENCY_RATIO_STATUS IviCounter Configure Frequency Ratio
CONFIGURE_TIME_INTERVAL_STATUS IviCounter Configure Time Interval
CONFIGURE_PHASE_STATUS IviCounter Configure Phase
CONFIGURE_CONTINUOUS_TOTALIZE_STATUS IviCounter Configure Continuous Totalize
CONFIGURE_GATED_TOTALIZE_STATUS IviCounter Configure Gated Totalize
CONFIGURE_TIMED_TOTALIZE_STATUS IviCounter Configure Timed Totalize
CONFIGURE_START_ARM_STATUS IviCounter Configure Start Arm
CONFIGURE_EXTERNAL_START_ARM_STATUS IviCounter Configure External Start Arm
CONFIGURE_STOP_ARM_STATUS IviCounter Configure Stop Arm
CONFIGURE_EXTERNAL_STOP_ARM_STATUS IviCounter Configure External Stop Arm
START_CONTINUOUS_TOTALIZE_STATUS IviCounter Start Continuous Totalize
STOP_CONTINUOUS_TOTALIZE_STATUS IviCounter Stop Continuous Totalize
FETCH_CONTINUOUS_TOTALIZE_COUNT_STATUS IviCounter Fetch Continuous Totalize Count
READ_STATUS IviCounter Read
FETCH_STATUS IviCounter Fetch
ABORT_STATUS IviCounter Abort
INITIATE_STATUS IviCounter Initiate
IS_MEASUREMENT_COMPLETE_STATUS IviCounter Is Measurement Complete
CONFIGURE_FILTER_STATUS IviCounter Configure Filter
CONFIGURE_TIME_INTERVAL_STOP_HOLDOFF_STATUS IviCounter Configure Time Interval Stop Holdoff
CONFIGURE_VOLTAGE_STATUS IviCounter Configure Voltage