Properties for Status Simulation in IviFgen

LabVIEW IVI Class Driver

Properties for Status Simulation in IviFgen

When an IviFgen driver VI is called, the driver queries whether NISFGEN_ATTR_SIMULATE_STATUS_CODE is enabled. If enabled, the driver gets the appropriate VI'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 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 (has a negative value), then it is returned as the VI's return status only if no other error occurred before the VI ends.

The following IviFgen VIs do not support status code simulation:

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

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

IviFgen Properties for Status Simulation

Property VI
INIT_STATUS IviFgen InitializeIviFgen Initialize With Options
CLOSE_STATUS IviFgen Close
RESET_STATUS IviFgen Reset
SELF_TEST_STATUS IviFgen Self-Test
ERROR_QUERY_STATUS IviFgen Error-Query
ERROR_MESSAGE_STATUS IviFgen Error Message
REVISION_QUERY_STATUS IviFgen Revision Query
RESET_DEFAULT_STATUS IviFgen Reset With Defaults
DISABLE_STATUS IviFgen Disable
INVALIDATE_STATUS IviFgen Invalidate All Attributes
GET_CH_NAME_STATUS IviFgen Get Channel Name
ABORT_GENERATION_STATUS IviFgen Abort Generation
CONFIGURE_OPERATION_MODE_STATUS IviFgen Configure Operation Mode
CONFIGURE_OUTPUT_ENABLED_STATUS IviFgen Configure Output Enabled
CONFIGURE_OUTPUT_IMPEDANCE_STATUS IviFgen Configure Output Impedance
CONFIGURE_OUTPUT_MODE_STATUS IviFgen Configure Output Mode
CONFIGURE_REF_CLOC_SOURCE_STATUS IviFgen Configure Ref Clock Source
INITIATE_GENERATION_STATUS IviFgen Initiate Generation
CONFIGURE_STANDARD_WAVEFORM_STATUS IviFgen Configure Standard Waveform
CLEAR_ARB_WAVEFORM_STATUS IviFgen Clear Arbitrary Wfm
CONFIGURE_ARB_WAVEFORM_STATUS IviFgen Configure Arbitrary Wfm
CONFIGURE_SAMPLE_RATE_STATUS IviFgen Configure Sample Rate
CREATE_ARB_WAVEFORM_STATUS IviFgen Create Arbitrary Wfm
QUERY_ARB_WFM_CAPABILITIES_STATUS IviFgen Query Arb Waveform Capabilities
CONFIGURE_ARB_FREQUENCY_STATUS IviFgen Configure Arb Frequency
CLEAR_ARB_MEMORY_STATUS IviFgen Clear Arbitrary Memory
CLEAR_ARB_SEQUENCE_STATUS IviFgen Clear Arbitrary Sequence
CONFIGURE_ARB_SEQUENCE_STATUS IviFgen Configure Arbitrary Sequence
CREATE_ARB_SEQUENCE_STATUS IviFgen Create Arbitrary Sequence
QUERY_ARB_SEQ_CAPABILITIES_STATUS IviFgen Query Arb Sequence Capabilities
CONFIGURE_TRIGGER_SOURCE_STATUS IviFgen Configure Trigger Source
CONFIGURE_INTERNAL_TRIGGER_RATE_STATUS IviFgen Configure Internal Trigger Rate
SEND_SOFTWARE_TRIGGER_STATUS IviFgen Send Software Trigger
CONFIGURE_BURST_COUNT_STATUS IviFgen Configure Burst Count
CONFIGURE_AM_ENABLED_STATUS IviFgen Configure AM Enabled
CONFIGURE_AM_INTERNAL_STATUS IviFgen Configure AM Internal
CONFIGURE_AM_SOURCE_STATUS IviFgen Configure AM Source
CONFIGURE_FM_ENABLED_STATUS IviFgen Configure FM Enabled
CONFIGURE_FM_INTERNAL_STATUS IviFgen Configure FM Internal
CONFIGURE_FM_SOURCE_STATUS IviFgen Configure FM Source