Attributes for Status Simulation in IviFgen

CVI/LabWindows IVI Class Driver

Attributes for Status Simulation in IviFgen

When an IviFgen driver function is called, the driver queries whether NISFGEN_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 IviFgen functions do not support status code simulation:

Each function supported by the IviFgen class driver has a corresponding attribute that determines the status code to return when status code simulation is enabled. The following table lists the status code attributes and the function for which they return a value. These attributes are all of type ViInt32, non-readable, and non-channel based.

Note  In the following table, the literal string NISFGEN_ATTR_ precedes all attribute names.

IviFgen Attributes for Status Simulation

Attribute Function
INIT_STATUS IviFgen_init, IviFgen_InitWithOptions
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_ResetWithDefaults
DISABLE_STATUS IviFgen_Disable
INVALIDATE_STATUS IviFgen_InvalidateAllAttributes
GET_CH_NAME_STATUS IviFgen_GetChannelName
ABORT_GENERATION_STATUS IviFgen_AbortGeneration
CONFIGURE_OPERATION_MODE_STATUS IviFgen_ConfigureOperationMode
CONFIGURE_OUTPUT_ENABLED_STATUS IviFgen_ConfigureOutputEnabled
CONFIGURE_OUTPUT_IMPEDANCE_STATUS IviFgen_ConfigureOutputImpedance
CONFIGURE_OUTPUT_MODE_STATUS IviFgen_ConfigureOutputMode
CONFIGURE_REF_CLOCK_SOURCE_STATUS IviFgen_ConfigureRefClockSource
INITIATE_GENERATION_STATUS IviFgen_InitiateGeneration
CONFIGURE_STANDARD_WAVEFORM_STATUS IviFgen_ConfigureStandardWaveform
CLEAR_ARB_WAVEFORM_STATUS IviFgen_ClearArbWaveform
CONFIGURE_ARB_WAVEFORM_STATUS IviFgen_ConfigureArbWaveform
CONFIGURE_SAMPLE_RATE_STATUS IviFgen_ConfigureSampleRate
CREATE_ARB_WAVEFORM_STATUS IviFgen_CreateArbWaveform
QUERY_ARB_WFM_CAPABILITIES_STATUS IviFgen_QueryArbWfmCapabilities
CONFIGURE_ARB_FREQUENCY_STATUS IviFgen_ConfigureArbFrequency
CLEAR_ARB_MEMORY_STATUS IviFgen_ClearArbMemory
CLEAR_ARB_SEQUENCE_STATUS IviFgen_ClearArbSequence
CONFIGURE_ARB_SEQUENCE_STATUS IviFgen_ConfigureArbSequence
CREATE_ARB_SEQUENCE_STATUS IviFgen_CreateArbSequence
QUERY_ARB_SEQ_CAPABILITIES_STATUS IviFgen_QueryArbSeqCapabilities
CONFIGURE_TRIGGER_SOURCE_STATUS IviFgen_ConfigureTriggerSource
CONFIGURE_INTERNAL_TRIGGER_RATE_STATUS IviFgen_ConfigureInternalTriggerRate
SEND_SOFTWARE_TRIGGER_STATUS IviFgen_SendSoftwareTrigger
CONFIGURE_BURST_COUNT_STATUS IviFgen_ConfigureBurstCount
CONFIGURE_AM_ENABLED_STATUS IviFgen_ConfigureAMEnabled
CONFIGURE_AM_INTERNAL_STATUS IviFgen_ConfigureAMInternal
CONFIGURE_AM_SOURCE_STATUS IviFgen_ConfigureAMSource
CONFIGURE_FM_ENABLED_STATUS IviFgen_ConfigureFMEnabled
CONFIGURE_FM_INTERNAL_STATUS IviFgen_ConfigureFMInternal
CONFIGURE_FM_SOURCE_STATUS IviFgen_ConfigureFMSource