<reponame>dan-davello/nimi-python
# These dictionaries are applied to the generated attributes dictionary at build time
# Any changes to the API should be made here. attributes.py is code generated

# We are not code genning attributes that have been marked as obsolete prior to the initial
# Python API bindings release
# We also do not need to codegen attributes that apply to P2P since it is not supported in Python
attributes_codegen_method = {
    1250350: { "codegen_method": "no" },  # CYCLE_COUNT
    1150248: { "codegen_method": "no" },  # OSP_DATA_RATE
    1150106: { "codegen_method": "no" },  # UPDATE_CLOCK_SOURCE
    1250002: { "codegen_method": "no" },  # REF_CLOCK_SOURCE
    1250005: { "codegen_method": "no" },  # OPERATION_MODE
    1150109: { "codegen_method": "no" },  # ACTUAL_ARB_SAMPLE_RATE
    1150221: { "codegen_method": "no" },  # DAQMX_TASK
    1050322: { "codegen_method": "no" },  # IO_SESSION
    1150391: { "codegen_method": "no" },  # P2P_ENABLED - P2P Attribute
    1150392: { "codegen_method": "no" },  # P2P_DESTINATION_CHANNELS - P2P Attribute
    1150393: { "codegen_method": "no" },  # P2P_ENDPOINT_SIZE - P2P Attribute
    1150394: { "codegen_method": "no" },  # P2P_SPACE_AVAILABLE_IN_ENDPOINT - P2P Attribute
    1150395: { "codegen_method": "no" },  # P2P_MOST_SPACE_AVAILABLE_IN_ENDPOINT - P2P Attribute
    1150396: { "codegen_method": "no" },  # P2P_ENDPOINT_COUNT - P2P Attribute
    1150397: { "codegen_method": "no" },  # P2P_MANUAL_CONFIGURATION_ENABLED - P2P Attribute
    1150398: { "codegen_method": "no" },  # P2P_DATA_TRANSFER_PERMISSION_ADDRESS - P2P Attribute
    1150399: { "codegen_method": "no" },  # P2P_DATA_TRANSFER_PERMISSION_ADDRESS_TYPE - P2P Attribute
    1150400: { "codegen_method": "no" },  # P2P_DATA_TRANSFER_PERMISSION_INTERVAL - P2P Attribute
    1150401: { "codegen_method": "no" },  # P2P_ENDPOINT_WINDOW_ADDRESS - P2P Attribute
    1150402: { "codegen_method": "no" },  # P2P_ENDPOINT_WINDOW_ADDRESS_TYPE - P2P Attribute
    1150403: { "codegen_method": "no" },  # P2P_ENDPOINT_WINDOW_SIZE - P2P Attribute
    1150405: { "codegen_method": "no" },  # P2P_DONE_NOTIFICATION_ADDRESS - P2P Attribute
    1150406: { "codegen_method": "no" },  # P2P_DONE_NOTIFICATION_ADDRESS_TYPE - P2P Attribute
    1150407: { "codegen_method": "no" },  # P2P_DONE_NOTIFICATION_VALUE - P2P Attribute
    1150408: { "codegen_method": "no" },  # P2P_DATA_TRANSFER_PERMISSION_INITIAL_CREDITS - P2P Attribute
    1150227: { "codegen_method": "no" },  # CAL_ADC_INPUT - Calibration Attribute
    1050401: { "codegen_method": "no" },  # GROUP_CAPABILITIES - IVI Attribute - #824
    1050021: { "codegen_method": "no" },  # INTERCHANGE_CHECK - IVI Attribute - #824
    1050002: { "codegen_method": "no" },  # RANGE_CHECK - IVI Attribute - #824
    1050006: { "codegen_method": "no" },  # RECORD_COERCIONS - IVI Attribute - #824
    1050515: { "codegen_method": "no" },  # SPECIFIC_DRIVER_CLASS_SPEC_MAJOR_VERSION - IVI Attribute - #824
    1050516: { "codegen_method": "no" },  # SPECIFIC_DRIVER_CLASS_SPEC_MINOR_VERSION - IVI Attribute - #824
    1050302: { "codegen_method": "no" },  # SPECIFIC_PREFIX - IVI Attribute - #824
    1050322: { "codegen_method": "no" },  # IO_SESSION - IVI Attribute - #824
    1050101: { "codegen_method": "no" },  # PRIMARY_ERROR - IVI Attribute - #824
    1050102: { "codegen_method": "no" },  # SECONDARY_ERROR - IVI Attribute - #824
    1050103: { "codegen_method": "no" },  # ERROR_ELABORATION - IVI Attribute - #824
    1050003: { "codegen_method": "no" },  # QUERY_INSTR_STATUS - IVI Attribute - #824
    1050004: { "codegen_method": "no" },  # CACHE - IVI Attribute - #824
    1150256: { "codegen_method": "no" },  # OSP_FIR_FILTER_INTERPOLATION - OSP Attribute - #864
    1150262: { "codegen_method": "no" },  # OSP_FIR_FILTER_GAUSSIAN_BT - OSP Attribute - #864
    1150261: { "codegen_method": "no" },  # OSP_FIR_FILTER_FLAT_PASSBAND - OSP Attribute - #864
    1150255: { "codegen_method": "no" },  # OSP_FIR_FILTER_ENABLED - OSP Attribute - #864
    1150246: { "codegen_method": "no" },  # OSP_ENABLED - OSP Attribute - #864
    1150247: { "codegen_method": "no" },  # OSP_DATA_PROCESSING_MODE - OSP Attribute - #864
    1150389: { "codegen_method": "no" },  # OSP_COMPENSATE_FOR_FILTER_GROUP_DELAY - OSP Attribute - #864
    1150258: { "codegen_method": "no" },  # OSP_CIC_FILTER_INTERPOLATION - OSP Attribute - #864
    1150263: { "codegen_method": "no" },  # OSP_CIC_FILTER_GAIN - OSP Attribute - #864
    1150257: { "codegen_method": "no" },  # OSP_CIC_FILTER_ENABLED - OSP Attribute - #864
    1150252: { "codegen_method": "no" },  # OSP_CARRIER_PHASE_Q - OSP Attribute - #864
    1150251: { "codegen_method": "no" },  # OSP_CARRIER_PHASE_I - OSP Attribute - #864
    1150250: { "codegen_method": "no" },  # OSP_CARRIER_FREQUENCY - OSP Attribute - #864
    1150249: { "codegen_method": "no" },  # OSP_CARRIER_ENABLED - OSP Attribute - #864
    1150267: { "codegen_method": "no" },  # OSP_PRE_FILTER_OFFSET_Q - OSP Attribute - #864
    1150266: { "codegen_method": "no" },  # OSP_PRE_FILTER_OFFSET_I - OSP Attribute - #864
    1150265: { "codegen_method": "no" },  # OSP_PRE_FILTER_GAIN_Q - OSP Attribute - #864
    1150264: { "codegen_method": "no" },  # OSP_PRE_FILTER_GAIN_I - OSP Attribute - #864
    1150269: { "codegen_method": "no" },  # OSP_OVERFLOW_STATUS - OSP Attribute - #864
    1150268: { "codegen_method": "no" },  # OSP_OVERFLOW_ERROR_REPORTING - OSP Attribute - #864
    1150370: { "codegen_method": "no" },  # OSP_MODE - OSP Attribute - #864
    1150371: { "codegen_method": "no" },  # OSP_FREQUENCY_SHIFT - OSP Attribute - #864
    1150253: { "codegen_method": "no" },  # OSP_FIR_FILTER_TYPE - OSP Attribute - #864
    1150259: { "codegen_method": "no" },  # OSP_FIR_FILTER_ROOT_RAISED_COSINE_ALPHA - OSP Attribute - #864
    1150260: { "codegen_method": "no" },  # OSP_FIR_FILTER_RAISED_COSINE_ALPHA - OSP Attribute - #864
    1150311: { "codegen_method": "no" },  # READY_FOR_START_EVENT_LEVEL_ACTIVE_LEVEL - Remove event properties - #858
    1150316: { "codegen_method": "no" },  # STARTED_EVENT_LEVEL_ACTIVE_LEVEL - Remove event properties - #858
    1150317: { "codegen_method": "no" },  # DONE_EVENT_LEVEL_ACTIVE_LEVEL - Remove event properties - #858
    1150331: { "codegen_method": "no" },  # STARTED_EVENT_OUTPUT_BEHAVIOR - Remove event properties - #858
    1150332: { "codegen_method": "no" },  # DONE_EVENT_OUTPUT_BEHAVIOR - Remove event properties - #858
    1150342: { "codegen_method": "no" },  # MARKER_EVENT_OUTPUT_BEHAVIOR - Remove event properties - #858
    1150313: { "codegen_method": "no" },  # MARKER_EVENT_PULSE_POLARITY - Remove event properties - #858
    1150318: { "codegen_method": "no" },  # STARTED_EVENT_PULSE_POLARITY - Remove event properties - #858
    1150319: { "codegen_method": "no" },  # DONE_EVENT_PULSE_POLARITY - Remove event properties - #858
    1150335: { "codegen_method": "no" },  # STARTED_EVENT_PULSE_WIDTH - Remove event properties - #858
    1150336: { "codegen_method": "no" },  # DONE_EVENT_PULSE_WIDTH - Remove event properties - #858
    1150340: { "codegen_method": "no" },  # MARKER_EVENT_PULSE_WIDTH - Remove event properties - #858
    1150333: { "codegen_method": "no" },  # STARTED_EVENT_PULSE_WIDTH_UNITS - Remove event properties - #858
    1150334: { "codegen_method": "no" },  # DONE_EVENT_PULSE_WIDTH_UNITS - Remove event properties - #858
    1150341: { "codegen_method": "no" },  # MARKER_EVENT_PULSE_WIDTH_UNITS - Remove event properties - #858
    1150343: { "codegen_method": "no" },  # MARKER_EVENT_TOGGLE_INITIAL_STATE - Remove event properties - #858
    1150345: { "codegen_method": "no" },  # MARKER_EVENT_LIVE_STATUS - Remove event properties - #858
    1150348: { "codegen_method": "no" },  # READY_FOR_START_EVENT_LIVE_STATUS - Remove event properties - #858
    1150350: { "codegen_method": "no" },  # MARKER_EVENT_LATCHED_STATUS - Remove event properties - #858
    1150351: { "codegen_method": "no" },  # DONE_EVENT_LATCHED_STATUS - Remove event properties - #858
    1150352: { "codegen_method": "no" },  # STARTED_EVENT_LATCHED_STATUS - Remove event properties - #858
    1150354: { "codegen_method": "no" },  # MARKER_EVENT_DELAY - Remove event properties - #858
    1150356: { "codegen_method": "no" },  # STARTED_EVENT_DELAY - Remove event properties - #858
    1150358: { "codegen_method": "no" },  # DONE_EVENT_DELAY - Remove event properties - #858
    1150355: { "codegen_method": "no" },  # MARKER_EVENT_DELAY_UNITS - Remove event properties - #858
    1150357: { "codegen_method": "no" },  # STARTED_EVENT_DELAY_UNITS - Remove event properties - #858
    1150359: { "codegen_method": "no" },  # DONE_EVENT_DELAY_UNITS - Remove event properties - #858
    1150244: { "codegen_method": "no" },  # DIRECT_DMA_ENABLED - StreamStor not supported - #858
    1150274: { "codegen_method": "no" },  # DIRECT_DMA_WINDOW_ADDRESS - StreamStor not supported - #858
    1150245: { "codegen_method": "no" },  # DIRECT_DMA_WINDOW_SIZE - StreamStor not supported - #858
    1150223: { "codegen_method": "no" },  # GAIN_DAC_VALUE - external calibration - #858
    1150224: { "codegen_method": "no" },  # OFFSET_DAC_VALUE - external calibration - #858
    1150001: { "codegen_method": "no" },  # ID_QUERY_RESPONSE - IVI Attribute - #858
    1150225: { "codegen_method": "no" },  # OSCILLATOR_FREQ_DAC_VALUE - external calibration - #858
    1150232: { "codegen_method": "no" },  # OSCILLATOR_PHASE_DAC_VALUE - external calibration - #858
    1150229: { "codegen_method": "no" },  # POST_AMPLIFIER_ATTENUATION - external calibration - #858
    1150228: { "codegen_method": "no" },  # PRE_AMPLIFIER_ATTENUATION - external calibration - #858
    1150410: { "codegen_method": "no" },  # P2P_ENDPOINT_FULLNESS_START_TRIGGER_LEVEL - P2P not supported - #858
    1150362: { "codegen_method": "no" },  # PCI_DMA_OPTIMIZATIONS_ENABLED - For internal use only - #858
    1150231: { "codegen_method": "no" },  # SAMPLE_CLOCK_ABSOLUTE_DELAY - EOL hardware only - #858
    1150111: { "codegen_method": "no" },  # SYNCHRONIZATION - EOL hardware only - #858
    1150105: { "codegen_method": "no" },  # SYNC_DUTY_CYCLE_HIGH - EOL hardware only - #858
    1150330: { "codegen_method": "no" },  # SYNC_OUT_OUTPUT_TERMINAL - EOL hardware only - #858
    1250302: { "codegen_method": "no" },  # TRIGGER_SOURCE - EOL hardware only - #858
    1150216: { "codegen_method": "no" },  # VIDEO_WAVEFORM_TYPE - EOL hardware only - #858
    1150294: { "codegen_method": "no" },  # DIGITAL_LEVEL_SCRIPT_TRIGGER_ACTIVE_LEVEL - EOL hardware only - #860
    1150293: { "codegen_method": "no" },  # DIGITAL_LEVEL_SCRIPT_TRIGGER_SOURCE - EOL hardware only - #860
}

attributes_converters = {
    1150409: { 'attribute_class': 'AttributeViReal64TimeDeltaSeconds',
               'type_in_documentation': 'float in seconds or datetime.timedelta', },  # STREAMING_WRITE_TIMEOUT
}

attributes_rep_cap_type = {
    1150290: { 'repeated_capability_type': 'script_triggers', },
    1150291: { 'repeated_capability_type': 'script_triggers', },
    1150292: { 'repeated_capability_type': 'script_triggers', },
    1150293: { 'repeated_capability_type': 'script_triggers', },
    1150294: { 'repeated_capability_type': 'script_triggers', },
    1150295: { 'repeated_capability_type': 'script_triggers', },
    1150312: { 'repeated_capability_type': 'markers', },
    1150313: { 'repeated_capability_type': 'markers', },
    1150327: { 'repeated_capability_type': 'markers', },
    1150337: { 'repeated_capability_type': 'markers', },
    1150338: { 'repeated_capability_type': 'markers', },
    1150339: { 'repeated_capability_type': 'markers', },
    1150340: { 'repeated_capability_type': 'markers', },
    1150341: { 'repeated_capability_type': 'markers', },
    1150342: { 'repeated_capability_type': 'markers', },
    1150343: { 'repeated_capability_type': 'markers', },
    1150345: { 'repeated_capability_type': 'markers', },
    1150350: { 'repeated_capability_type': 'markers', },
    1150354: { 'repeated_capability_type': 'markers', },
    1150355: { 'repeated_capability_type': 'markers', },
}

attributes_python_name = {
    1050203: { 'python_name': 'channel_count', },
}



# These dictionaries are applied to the generated attributes dictionary at build time
# Any changes to the API should be made here. attributes.py is code generated

# We are not code genning attributes that have been marked as obsolete prior to the initial
# Python API bindings release
# We also do not need to codegen attributes that apply to P2P since it is not supported in Python
attributes_codegen_method = {
    1250350: { "codegen_method": "no" },  # CYCLE_COUNT
    1150248: { "codegen_method": "no" },  # OSP_DATA_RATE
    1150106: { "codegen_method": "no" },  # UPDATE_CLOCK_SOURCE
    1250002: { "codegen_method": "no" },  # REF_CLOCK_SOURCE
    1250005: { "codegen_method": "no" },  # OPERATION_MODE
    1150109: { "codegen_method": "no" },  # ACTUAL_ARB_SAMPLE_RATE
    1150221: { "codegen_method": "no" },  # DAQMX_TASK
    1050322: { "codegen_method": "no" },  # IO_SESSION
    1150391: { "codegen_method": "no" },  # P2P_ENABLED - P2P Attribute
    1150392: { "codegen_method": "no" },  # P2P_DESTINATION_CHANNELS - P2P Attribute
    1150393: { "codegen_method": "no" },  # P2P_ENDPOINT_SIZE - P2P Attribute
    1150394: { "codegen_method": "no" },  # P2P_SPACE_AVAILABLE_IN_ENDPOINT - P2P Attribute
    1150395: { "codegen_method": "no" },  # P2P_MOST_SPACE_AVAILABLE_IN_ENDPOINT - P2P Attribute
    1150396: { "codegen_method": "no" },  # P2P_ENDPOINT_COUNT - P2P Attribute
    1150397: { "codegen_method": "no" },  # P2P_MANUAL_CONFIGURATION_ENABLED - P2P Attribute
    1150398: { "codegen_method": "no" },  # P2P_DATA_TRANSFER_PERMISSION_ADDRESS - P2P Attribute
    1150399: { "codegen_method": "no" },  # P2P_DATA_TRANSFER_PERMISSION_ADDRESS_TYPE - P2P Attribute
    1150400: { "codegen_method": "no" },  # P2P_DATA_TRANSFER_PERMISSION_INTERVAL - P2P Attribute
    1150401: { "codegen_method": "no" },  # P2P_ENDPOINT_WINDOW_ADDRESS - P2P Attribute
    1150402: { "codegen_method": "no" },  # P2P_ENDPOINT_WINDOW_ADDRESS_TYPE - P2P Attribute
    1150403: { "codegen_method": "no" },  # P2P_ENDPOINT_WINDOW_SIZE - P2P Attribute
    1150405: { "codegen_method": "no" },  # P2P_DONE_NOTIFICATION_ADDRESS - P2P Attribute
    1150406: { "codegen_method": "no" },  # P2P_DONE_NOTIFICATION_ADDRESS_TYPE - P2P Attribute
    1150407: { "codegen_method": "no" },  # P2P_DONE_NOTIFICATION_VALUE - P2P Attribute
    1150408: { "codegen_method": "no" },  # P2P_DATA_TRANSFER_PERMISSION_INITIAL_CREDITS - P2P Attribute
    1150227: { "codegen_method": "no" },  # CAL_ADC_INPUT - Calibration Attribute
    1050401: { "codegen_method": "no" },  # GROUP_CAPABILITIES - IVI Attribute - #824
    1050021: { "codegen_method": "no" },  # INTERCHANGE_CHECK - IVI Attribute - #824
    1050002: { "codegen_method": "no" },  # RANGE_CHECK - IVI Attribute - #824
    1050006: { "codegen_method": "no" },  # RECORD_COERCIONS - IVI Attribute - #824
    1050515: { "codegen_method": "no" },  # SPECIFIC_DRIVER_CLASS_SPEC_MAJOR_VERSION - IVI Attribute - #824
    1050516: { "codegen_method": "no" },  # SPECIFIC_DRIVER_CLASS_SPEC_MINOR_VERSION - IVI Attribute - #824
    1050302: { "codegen_method": "no" },  # SPECIFIC_PREFIX - IVI Attribute - #824
    1050322: { "codegen_method": "no" },  # IO_SESSION - IVI Attribute - #824
    1050101: { "codegen_method": "no" },  # PRIMARY_ERROR - IVI Attribute - #824
    1050102: { "codegen_method": "no" },  # SECONDARY_ERROR - IVI Attribute - #824
    1050103: { "codegen_method": "no" },  # ERROR_ELABORATION - IVI Attribute - #824
    1050003: { "codegen_method": "no" },  # QUERY_INSTR_STATUS - IVI Attribute - #824
    1050004: { "codegen_method": "no" },  # CACHE - IVI Attribute - #824
    1150256: { "codegen_method": "no" },  # OSP_FIR_FILTER_INTERPOLATION - OSP Attribute - #864
    1150262: { "codegen_method": "no" },  # OSP_FIR_FILTER_GAUSSIAN_BT - OSP Attribute - #864
    1150261: { "codegen_method": "no" },  # OSP_FIR_FILTER_FLAT_PASSBAND - OSP Attribute - #864
    1150255: { "codegen_method": "no" },  # OSP_FIR_FILTER_ENABLED - OSP Attribute - #864
    1150246: { "codegen_method": "no" },  # OSP_ENABLED - OSP Attribute - #864
    1150247: { "codegen_method": "no" },  # OSP_DATA_PROCESSING_MODE - OSP Attribute - #864
    1150389: { "codegen_method": "no" },  # OSP_COMPENSATE_FOR_FILTER_GROUP_DELAY - OSP Attribute - #864
    1150258: { "codegen_method": "no" },  # OSP_CIC_FILTER_INTERPOLATION - OSP Attribute - #864
    1150263: { "codegen_method": "no" },  # OSP_CIC_FILTER_GAIN - OSP Attribute - #864
    1150257: { "codegen_method": "no" },  # OSP_CIC_FILTER_ENABLED - OSP Attribute - #864
    1150252: { "codegen_method": "no" },  # OSP_CARRIER_PHASE_Q - OSP Attribute - #864
    1150251: { "codegen_method": "no" },  # OSP_CARRIER_PHASE_I - OSP Attribute - #864
    1150250: { "codegen_method": "no" },  # OSP_CARRIER_FREQUENCY - OSP Attribute - #864
    1150249: { "codegen_method": "no" },  # OSP_CARRIER_ENABLED - OSP Attribute - #864
    1150267: { "codegen_method": "no" },  # OSP_PRE_FILTER_OFFSET_Q - OSP Attribute - #864
    1150266: { "codegen_method": "no" },  # OSP_PRE_FILTER_OFFSET_I - OSP Attribute - #864
    1150265: { "codegen_method": "no" },  # OSP_PRE_FILTER_GAIN_Q - OSP Attribute - #864
    1150264: { "codegen_method": "no" },  # OSP_PRE_FILTER_GAIN_I - OSP Attribute - #864
    1150269: { "codegen_method": "no" },  # OSP_OVERFLOW_STATUS - OSP Attribute - #864
    1150268: { "codegen_method": "no" },  # OSP_OVERFLOW_ERROR_REPORTING - OSP Attribute - #864
    1150370: { "codegen_method": "no" },  # OSP_MODE - OSP Attribute - #864
    1150371: { "codegen_method": "no" },  # OSP_FREQUENCY_SHIFT - OSP Attribute - #864
    1150253: { "codegen_method": "no" },  # OSP_FIR_FILTER_TYPE - OSP Attribute - #864
    1150259: { "codegen_method": "no" },  # OSP_FIR_FILTER_ROOT_RAISED_COSINE_ALPHA - OSP Attribute - #864
    1150260: { "codegen_method": "no" },  # OSP_FIR_FILTER_RAISED_COSINE_ALPHA - OSP Attribute - #864
    1150311: { "codegen_method": "no" },  # READY_FOR_START_EVENT_LEVEL_ACTIVE_LEVEL - Remove event properties - #858
    1150316: { "codegen_method": "no" },  # STARTED_EVENT_LEVEL_ACTIVE_LEVEL - Remove event properties - #858
    1150317: { "codegen_method": "no" },  # DONE_EVENT_LEVEL_ACTIVE_LEVEL - Remove event properties - #858
    1150331: { "codegen_method": "no" },  # STARTED_EVENT_OUTPUT_BEHAVIOR - Remove event properties - #858
    1150332: { "codegen_method": "no" },  # DONE_EVENT_OUTPUT_BEHAVIOR - Remove event properties - #858
    1150342: { "codegen_method": "no" },  # MARKER_EVENT_OUTPUT_BEHAVIOR - Remove event properties - #858
    1150313: { "codegen_method": "no" },  # MARKER_EVENT_PULSE_POLARITY - Remove event properties - #858
    1150318: { "codegen_method": "no" },  # STARTED_EVENT_PULSE_POLARITY - Remove event properties - #858
    1150319: { "codegen_method": "no" },  # DONE_EVENT_PULSE_POLARITY - Remove event properties - #858
    1150335: { "codegen_method": "no" },  # STARTED_EVENT_PULSE_WIDTH - Remove event properties - #858
    1150336: { "codegen_method": "no" },  # DONE_EVENT_PULSE_WIDTH - Remove event properties - #858
    1150340: { "codegen_method": "no" },  # MARKER_EVENT_PULSE_WIDTH - Remove event properties - #858
    1150333: { "codegen_method": "no" },  # STARTED_EVENT_PULSE_WIDTH_UNITS - Remove event properties - #858
    1150334: { "codegen_method": "no" },  # DONE_EVENT_PULSE_WIDTH_UNITS - Remove event properties - #858
    1150341: { "codegen_method": "no" },  # MARKER_EVENT_PULSE_WIDTH_UNITS - Remove event properties - #858
    1150343: { "codegen_method": "no" },  # MARKER_EVENT_TOGGLE_INITIAL_STATE - Remove event properties - #858
    1150345: { "codegen_method": "no" },  # MARKER_EVENT_LIVE_STATUS - Remove event properties - #858
    1150348: { "codegen_method": "no" },  # READY_FOR_START_EVENT_LIVE_STATUS - Remove event properties - #858
    1150350: { "codegen_method": "no" },  # MARKER_EVENT_LATCHED_STATUS - Remove event properties - #858
    1150351: { "codegen_method": "no" },  # DONE_EVENT_LATCHED_STATUS - Remove event properties - #858
    1150352: { "codegen_method": "no" },  # STARTED_EVENT_LATCHED_STATUS - Remove event properties - #858
    1150354: { "codegen_method": "no" },  # MARKER_EVENT_DELAY - Remove event properties - #858
    1150356: { "codegen_method": "no" },  # STARTED_EVENT_DELAY - Remove event properties - #858
    1150358: { "codegen_method": "no" },  # DONE_EVENT_DELAY - Remove event properties - #858
    1150355: { "codegen_method": "no" },  # MARKER_EVENT_DELAY_UNITS - Remove event properties - #858
    1150357: { "codegen_method": "no" },  # STARTED_EVENT_DELAY_UNITS - Remove event properties - #858
    1150359: { "codegen_method": "no" },  # DONE_EVENT_DELAY_UNITS - Remove event properties - #858
    1150244: { "codegen_method": "no" },  # DIRECT_DMA_ENABLED - StreamStor not supported - #858
    1150274: { "codegen_method": "no" },  # DIRECT_DMA_WINDOW_ADDRESS - StreamStor not supported - #858
    1150245: { "codegen_method": "no" },  # DIRECT_DMA_WINDOW_SIZE - StreamStor not supported - #858
    1150223: { "codegen_method": "no" },  # GAIN_DAC_VALUE - external calibration - #858
    1150224: { "codegen_method": "no" },  # OFFSET_DAC_VALUE - external calibration - #858
    1150001: { "codegen_method": "no" },  # ID_QUERY_RESPONSE - IVI Attribute - #858
    1150225: { "codegen_method": "no" },  # OSCILLATOR_FREQ_DAC_VALUE - external calibration - #858
    1150232: { "codegen_method": "no" },  # OSCILLATOR_PHASE_DAC_VALUE - external calibration - #858
    1150229: { "codegen_method": "no" },  # POST_AMPLIFIER_ATTENUATION - external calibration - #858
    1150228: { "codegen_method": "no" },  # PRE_AMPLIFIER_ATTENUATION - external calibration - #858
    1150410: { "codegen_method": "no" },  # P2P_ENDPOINT_FULLNESS_START_TRIGGER_LEVEL - P2P not supported - #858
    1150362: { "codegen_method": "no" },  # PCI_DMA_OPTIMIZATIONS_ENABLED - For internal use only - #858
    1150231: { "codegen_method": "no" },  # SAMPLE_CLOCK_ABSOLUTE_DELAY - EOL hardware only - #858
    1150111: { "codegen_method": "no" },  # SYNCHRONIZATION - EOL hardware only - #858
    1150105: { "codegen_method": "no" },  # SYNC_DUTY_CYCLE_HIGH - EOL hardware only - #858
    1150330: { "codegen_method": "no" },  # SYNC_OUT_OUTPUT_TERMINAL - EOL hardware only - #858
    1250302: { "codegen_method": "no" },  # TRIGGER_SOURCE - EOL hardware only - #858
    1150216: { "codegen_method": "no" },  # VIDEO_WAVEFORM_TYPE - EOL hardware only - #858
    1150294: { "codegen_method": "no" },  # DIGITAL_LEVEL_SCRIPT_TRIGGER_ACTIVE_LEVEL - EOL hardware only - #860
    1150293: { "codegen_method": "no" },  # DIGITAL_LEVEL_SCRIPT_TRIGGER_SOURCE - EOL hardware only - #860
}

attributes_converters = {
    1150409: { 'attribute_class': 'AttributeViReal64TimeDeltaSeconds',
               'type_in_documentation': 'float in seconds or datetime.timedelta', },  # STREAMING_WRITE_TIMEOUT
}

attributes_rep_cap_type = {
    1150290: { 'repeated_capability_type': 'script_triggers', },
    1150291: { 'repeated_capability_type': 'script_triggers', },
    1150292: { 'repeated_capability_type': 'script_triggers', },
    1150293: { 'repeated_capability_type': 'script_triggers', },
    1150294: { 'repeated_capability_type': 'script_triggers', },
    1150295: { 'repeated_capability_type': 'script_triggers', },
    1150312: { 'repeated_capability_type': 'markers', },
    1150313: { 'repeated_capability_type': 'markers', },
    1150327: { 'repeated_capability_type': 'markers', },
    1150337: { 'repeated_capability_type': 'markers', },
    1150338: { 'repeated_capability_type': 'markers', },
    1150339: { 'repeated_capability_type': 'markers', },
    1150340: { 'repeated_capability_type': 'markers', },
    1150341: { 'repeated_capability_type': 'markers', },
    1150342: { 'repeated_capability_type': 'markers', },
    1150343: { 'repeated_capability_type': 'markers', },
    1150345: { 'repeated_capability_type': 'markers', },
    1150350: { 'repeated_capability_type': 'markers', },
    1150354: { 'repeated_capability_type': 'markers', },
    1150355: { 'repeated_capability_type': 'markers', },
}

attributes_python_name = {
    1050203: { 'python_name': 'channel_count', },
}
# These dictionaries are applied to the generated attributes dictionary at build time # Any changes to the API should be made here. attributes.py is code generated # We are not code genning attributes that have been marked as obsolete prior to the initial # Python API bindings release # We also do not need to codegen attributes that apply to P2P since it is not supported in Python # CYCLE_COUNT # OSP_DATA_RATE # UPDATE_CLOCK_SOURCE # REF_CLOCK_SOURCE # OPERATION_MODE # ACTUAL_ARB_SAMPLE_RATE # DAQMX_TASK # IO_SESSION # P2P_ENABLED - P2P Attribute # P2P_DESTINATION_CHANNELS - P2P Attribute # P2P_ENDPOINT_SIZE - P2P Attribute # P2P_SPACE_AVAILABLE_IN_ENDPOINT - P2P Attribute # P2P_MOST_SPACE_AVAILABLE_IN_ENDPOINT - P2P Attribute # P2P_ENDPOINT_COUNT - P2P Attribute # P2P_MANUAL_CONFIGURATION_ENABLED - P2P Attribute # P2P_DATA_TRANSFER_PERMISSION_ADDRESS - P2P Attribute # P2P_DATA_TRANSFER_PERMISSION_ADDRESS_TYPE - P2P Attribute # P2P_DATA_TRANSFER_PERMISSION_INTERVAL - P2P Attribute # P2P_ENDPOINT_WINDOW_ADDRESS - P2P Attribute # P2P_ENDPOINT_WINDOW_ADDRESS_TYPE - P2P Attribute # P2P_ENDPOINT_WINDOW_SIZE - P2P Attribute # P2P_DONE_NOTIFICATION_ADDRESS - P2P Attribute # P2P_DONE_NOTIFICATION_ADDRESS_TYPE - P2P Attribute # P2P_DONE_NOTIFICATION_VALUE - P2P Attribute # P2P_DATA_TRANSFER_PERMISSION_INITIAL_CREDITS - P2P Attribute # CAL_ADC_INPUT - Calibration Attribute # GROUP_CAPABILITIES - IVI Attribute - #824 # INTERCHANGE_CHECK - IVI Attribute - #824 # RANGE_CHECK - IVI Attribute - #824 # RECORD_COERCIONS - IVI Attribute - #824 # SPECIFIC_DRIVER_CLASS_SPEC_MAJOR_VERSION - IVI Attribute - #824 # SPECIFIC_DRIVER_CLASS_SPEC_MINOR_VERSION - IVI Attribute - #824 # SPECIFIC_PREFIX - IVI Attribute - #824 # IO_SESSION - IVI Attribute - #824 # PRIMARY_ERROR - IVI Attribute - #824 # SECONDARY_ERROR - IVI Attribute - #824 # ERROR_ELABORATION - IVI Attribute - #824 # QUERY_INSTR_STATUS - IVI Attribute - #824 # CACHE - IVI Attribute - #824 # OSP_FIR_FILTER_INTERPOLATION - OSP Attribute - #864 # OSP_FIR_FILTER_GAUSSIAN_BT - OSP Attribute - #864 # OSP_FIR_FILTER_FLAT_PASSBAND - OSP Attribute - #864 # OSP_FIR_FILTER_ENABLED - OSP Attribute - #864 # OSP_ENABLED - OSP Attribute - #864 # OSP_DATA_PROCESSING_MODE - OSP Attribute - #864 # OSP_COMPENSATE_FOR_FILTER_GROUP_DELAY - OSP Attribute - #864 # OSP_CIC_FILTER_INTERPOLATION - OSP Attribute - #864 # OSP_CIC_FILTER_GAIN - OSP Attribute - #864 # OSP_CIC_FILTER_ENABLED - OSP Attribute - #864 # OSP_CARRIER_PHASE_Q - OSP Attribute - #864 # OSP_CARRIER_PHASE_I - OSP Attribute - #864 # OSP_CARRIER_FREQUENCY - OSP Attribute - #864 # OSP_CARRIER_ENABLED - OSP Attribute - #864 # OSP_PRE_FILTER_OFFSET_Q - OSP Attribute - #864 # OSP_PRE_FILTER_OFFSET_I - OSP Attribute - #864 # OSP_PRE_FILTER_GAIN_Q - OSP Attribute - #864 # OSP_PRE_FILTER_GAIN_I - OSP Attribute - #864 # OSP_OVERFLOW_STATUS - OSP Attribute - #864 # OSP_OVERFLOW_ERROR_REPORTING - OSP Attribute - #864 # OSP_MODE - OSP Attribute - #864 # OSP_FREQUENCY_SHIFT - OSP Attribute - #864 # OSP_FIR_FILTER_TYPE - OSP Attribute - #864 # OSP_FIR_FILTER_ROOT_RAISED_COSINE_ALPHA - OSP Attribute - #864 # OSP_FIR_FILTER_RAISED_COSINE_ALPHA - OSP Attribute - #864 # READY_FOR_START_EVENT_LEVEL_ACTIVE_LEVEL - Remove event properties - #858 # STARTED_EVENT_LEVEL_ACTIVE_LEVEL - Remove event properties - #858 # DONE_EVENT_LEVEL_ACTIVE_LEVEL - Remove event properties - #858 # STARTED_EVENT_OUTPUT_BEHAVIOR - Remove event properties - #858 # DONE_EVENT_OUTPUT_BEHAVIOR - Remove event properties - #858 # MARKER_EVENT_OUTPUT_BEHAVIOR - Remove event properties - #858 # MARKER_EVENT_PULSE_POLARITY - Remove event properties - #858 # STARTED_EVENT_PULSE_POLARITY - Remove event properties - #858 # DONE_EVENT_PULSE_POLARITY - Remove event properties - #858 # STARTED_EVENT_PULSE_WIDTH - Remove event properties - #858 # DONE_EVENT_PULSE_WIDTH - Remove event properties - #858 # MARKER_EVENT_PULSE_WIDTH - Remove event properties - #858 # STARTED_EVENT_PULSE_WIDTH_UNITS - Remove event properties - #858 # DONE_EVENT_PULSE_WIDTH_UNITS - Remove event properties - #858 # MARKER_EVENT_PULSE_WIDTH_UNITS - Remove event properties - #858 # MARKER_EVENT_TOGGLE_INITIAL_STATE - Remove event properties - #858 # MARKER_EVENT_LIVE_STATUS - Remove event properties - #858 # READY_FOR_START_EVENT_LIVE_STATUS - Remove event properties - #858 # MARKER_EVENT_LATCHED_STATUS - Remove event properties - #858 # DONE_EVENT_LATCHED_STATUS - Remove event properties - #858 # STARTED_EVENT_LATCHED_STATUS - Remove event properties - #858 # MARKER_EVENT_DELAY - Remove event properties - #858 # STARTED_EVENT_DELAY - Remove event properties - #858 # DONE_EVENT_DELAY - Remove event properties - #858 # MARKER_EVENT_DELAY_UNITS - Remove event properties - #858 # STARTED_EVENT_DELAY_UNITS - Remove event properties - #858 # DONE_EVENT_DELAY_UNITS - Remove event properties - #858 # DIRECT_DMA_ENABLED - StreamStor not supported - #858 # DIRECT_DMA_WINDOW_ADDRESS - StreamStor not supported - #858 # DIRECT_DMA_WINDOW_SIZE - StreamStor not supported - #858 # GAIN_DAC_VALUE - external calibration - #858 # OFFSET_DAC_VALUE - external calibration - #858 # ID_QUERY_RESPONSE - IVI Attribute - #858 # OSCILLATOR_FREQ_DAC_VALUE - external calibration - #858 # OSCILLATOR_PHASE_DAC_VALUE - external calibration - #858 # POST_AMPLIFIER_ATTENUATION - external calibration - #858 # PRE_AMPLIFIER_ATTENUATION - external calibration - #858 # P2P_ENDPOINT_FULLNESS_START_TRIGGER_LEVEL - P2P not supported - #858 # PCI_DMA_OPTIMIZATIONS_ENABLED - For internal use only - #858 # SAMPLE_CLOCK_ABSOLUTE_DELAY - EOL hardware only - #858 # SYNCHRONIZATION - EOL hardware only - #858 # SYNC_DUTY_CYCLE_HIGH - EOL hardware only - #858 # SYNC_OUT_OUTPUT_TERMINAL - EOL hardware only - #858 # TRIGGER_SOURCE - EOL hardware only - #858 # VIDEO_WAVEFORM_TYPE - EOL hardware only - #858 # DIGITAL_LEVEL_SCRIPT_TRIGGER_ACTIVE_LEVEL - EOL hardware only - #860 # DIGITAL_LEVEL_SCRIPT_TRIGGER_SOURCE - EOL hardware only - #860 # STREAMING_WRITE_TIMEOUT