Properties for Status Simulation in IviScope

LabVIEW IVI Class Driver

Properties for Status Simulation in IviScope

When an IviScope driver function is called, the driver queries whether NISSCOPE_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 return 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 IviScope VIs do not support status code simulation:

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

Each VI supported by the IviScope class driver has a corresponding property that determines the status code to return when status code simulation is enabled. The following list indicates 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 NISSCOPE_ATTR_ precedes all property names.

IviScope Properties for Status Simulation

Property VI
INIT_STATUS IviScope InitializeIviScope Initialize With Options
CLOSE_STATUS IviScope Close
RESET_STATUS IviScope Reset
SELF_TEST_STATUS IviScope Self-Test
ERROR_QUERY_STATUS IviScope Error-Query
ERROR_MESSAGE_STATUS IviScope Error Message
REVISION_QUERY_STATUS IviScope Revision Query
RESET_DEFAULT_STATUS IviScope Reset With Defaults
DISABLE_STATUS IviScope Disable
INVALIDATE_STATUS IviScope Invalidate All Attributes
GET_CH_NAME_STATUS IviScope Get Channel Name
CONFIGURE_CHANNEL_STATUS IviScope Configure Channel
CONFIGURE_CHAN_CHARACTERISTICS_STATUS IviScope Configure Channel Characteristics
CONFIGURE_ACQUISITION_TYPE_STATUS IviScope Configure Acquisition Type
CONFIGURE_ACQUISITION_RECORD__STATUS IviScope Configure Acquisition Record
ACTUAL_RECORD_LENGTH_STATUS IviScope Actual Record Length
CONFIGURE_TRIGGER_STATUS IviScope Configure Trigger
CONFIGURE_TRIGGER_COUPLING_STATUS IviScope Configure Trigger Coupling
CONFIGURE_EDGE_TRIGGER_SOURCE_STATUS IviScope Configure Edge Trigger Source
READ_WAVEFORM_STATUS IviScope Read Waveform
ABORT_STATUS IviScope Abort
INITIATE_ACQUISITION_STATUS IviScope Initiate Acquisition
ACQUISITION_STATUS_STATUS IviScope Acquisition Status
FETCH_WAVEFORM_STATUS IviScope Fetch Waveform
IS_INVALID_WFM_ELEMENT_STATUS IviScope Is Invalid Waveform Element
CONFIGURE_TV_TRIGGER_SOURCE_STATUS IviScope Configure TV Trigger Source
CONFIGURE_TV_TRIGGER_LINE_NUMBER_STATUS IviScope Configure TV Trigger Line Number
CONFIGURE_RUNT_TRIGGER_SOURCE_STATUS IviScope Configure Runt Trigger Source
CONFIGURE_GLITCH_TRIGGER_SOURCE_STATUS IviScope Configure Glitch Trigger Source
CONFIGURE_WIDTH_TRIGGER_SOURCE_STATUS IviScope Configure Width Trigger Source
CONFIGURE_AC_LINE_TRIGGER_SLOPE_ STATUS IviScope Configure AC Line Trigger Slope
CONFIGURE_TRIGGER_MODIFIER_STATUS IviScope Configure Trigger Modifier
CONFIGURE_NUM_ENVELOPES_STATUS IviScope Configure Number of Envelopes
READ_MIN_MAX_WAVEFORM_STATUS IviScope Read Min Max Waveform
FETCH_MIN_MAX_WAVEFORM_STATUS IviScope Fetch Min Max Waveform
CONFIGURE_REF_LEVELS_STATUS IviScope Configure Reference Levels
READ_WAVEFORM_MEASUREMENT_STATUS IviScope Read Waveform Measurement
FETCH_WAVEFORM_MEASUREMENT_STATUS IviScope Fetch Waveform Measurement
CONFIGURE_NUM_AVERAGES_STATUS IviScope Configure Number of Averages
CONFIGURE_INITIATE_CONTINUOUS_STATUS IviScope Configure Initiate Continuous
CONFIGURE_INTERPOLATION_STATUS IviScope Configure Interpolation
SAMPLE_MODE_STATUS IviScope Actual Sample Mode
SAMPLE_RATE_STATUS IviScope Actual Sample Rate
AUTO_PROBE_SENSE_VALUE_STATUS IviScope Auto Probe Sense Value
AUTO_SETUP_STATUS IviScope Auto Setup