Admin Production ni-theme
Current Publication

Status Simulation Properties

IVI Compliance Package

Properties for Status Simulation in IviACPwr

When an IviACPwr driver function is called, the driver queries whether NISACPWR_ATTR_SIMULATE_STATUS_CODE is enabled. If enabled, the driver gets the appropriate function'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 function's return status only if no other error or warning occurred before the function ends. If the value of the simulation status code represents an error (has a negative value), then it is returned as the function's return status only if no other error occurred before the function ends.

The following IviACPwr VIs do not support status code simulation:

  • IviACPwr Get Error
  • IviACPwr Clear Error
  • IviACPwr Get Next Interchange Warning
  • IviACPwr Reset Next Interchange Warning
  • IviACPwr Clear Next Interchange Warning
  • IviACPwr Get Next Coercion Record

Each VI supported by the IviACPwr 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 NISACPWR precedes all property names.

IviACPwr Properties for Status Simulation

Property VI
INIT_STATUS IviACPwr InitializeIviACPwr Initialize With Options
CLOSE_STATUS IviACPwr Close
RESET_STATUS IviACPwr Reset
SELF_TEST_STATUS IviACPwr Self-Test

ERROR_QUERY_STATUS

IviACPwr Error-Query

ERROR_MESSAGE_STATUS

IviACPwr Error Message
REVISION_QUERY_STATUS IviACPwr Revision Query
RESET_DEFAULT_STATUS IviACPwr Reset With Defaults
DISABLE_STATUS IviACPwr Disable
INVALIDATE_STATUS IviACPwr Invalidate All Attributes
CONFIGURE_VOLTAGE_LEVEL_STATUS IviACPwr Configure Voltage Level
CONFIGURE_VOLTAGE_RANGE_STATUS IviACPwr Configure Voltage Range
CONFIGURE_FREQUENCY_STATUS IviACPwr Configure Frequency
CONFIGURE_FREQUENCY_RANGE_STATUS IviACPwr Configure Frequency Range
CONFIGURE_WAVEFORM_STATUS IviACPwr Configure Waveform
QUERY_VOLTAGE_RANGE_CAPABILITIES_STATUS IviACPwr Query Voltage Range Capabilities
QUERY_FREQUENCY_RANGE_CAPABILITIES_STATUS IviACPwr Query Frequency Range Capabilities
GET_OUTPUT_PHASE_NAME_STATUS IviACPwr Get Output Phase Name
INITIATE_MEASUREMENT_STATUS IviACPwr Initiate Measurement
FETCH_MEASUREMENT_STATUS IviACPwr Fetch Measurement
FETCH_MEASUREMENT_ARRAY_STATUS IviACPwr Fetch Measurement Array
CONFIGURE_PHASE_ANGLE_STATUS IviACPwr Configure Phase Angle
CONFIGURE_EXTERNAL_SYNC_STATUS IviACPwr Configure External Sync
QUERY_EXTERNAL_SYNC_LOCKED_STATUS IviACPwr Query External Sync Locked
QUERY_CURRENT_PROTECTION_TRIPPED_STATUS IviACPwr Query Current Protection Tripped
RESET_CURRENT_PROTECTION_STATUS IviACPwr Reset Current Protection
CONFIGURE_CURRENT_PROTECTION_STATUS IviACPwr Configure Current Protection
QUERY_VOLTAGE_PROTECTION_TRIPPED_STATUS IviACPwr Query Voltage Protection Tripped
RESET_VOLTAGE_PROTECTION_STATUS IviACPwr Reset Voltage Protection
CONFIGURE_VOLTAGE_PROTECTION_STATUS IviACPwr Configure Voltage Protection
CLEAR_ARB_WAVEFORM_STATUS IviACPwr Clear Arb Waveform
WRITE_ARB_WAVEFORM_STATUS IviACPwr Write Arb Waveform
QUERY_ARB_WAVEFORM_CATALOG_STATUS IviACPwr Query Arbitrary Waveform Catalog
CONFIGURE_OUTPUT_IMPEDANCE_STATUS IviACPwr Configure Output Impedance
QUERY_OUTPUT_IMPEDANCE_CAPABILITIES_STATUS IviACPwr Query Output Impedance Capabilities
CONFIGURE_DC_STATUS IviACPwr Configure DC
CONFIGURE_DC_RANGE_STATUS IviACPwr Configure DC Range
QUERY_DC_CAPABILITIES_STATUS IviACPwr Query DC Capabilities
RAMP_VOLTAGE_STATUS IviACPwr Ramp Voltage
QUERY_VOLTAGE_RAMP_BUSY_STATUS IviACPwr Query Voltage Ramp Busy
ABORT_VOLTAGE_RAMP_STATUS IviACPwr Abort Voltage Ramp
RAMP_CURRENT_STATUS IviACPwr Ramp Current
QUERY_CURRENT_RAMP_BUSY_STATUS IviACPwr Query Current Ramp Busy
ABORT_CURRENT_RAMP_STATUS IviACPwr Abort Current Ramp
RAMP_FREQUENCY_STATUS IviACPwr Ramp Frequency
QUERY_FREQUENCY_RAMP_BUSY_STATUS IviACPwr Query Frequency Ramp Busy
ABORT_FREQUENCY_RAMP_STATUS IviACPwr Abort Frequency Ramp