Skip to content

API Clean up - multiple source breakers

Compare
Choose a tag to compare
@texasaggie97-zz texasaggie97-zz released this 20 Feb 19:37
· 988 commits to master since this release
  • ALL

    • Changed

      • Option string can now be a python dictionary instead of a string. (Fix #661)
        • Key/Value pairs approporiate for desired behavior
          session = nidmm.Session('Dev1', False, {'simulate': True, 'driver_setup': {'Model': '4071', 'BoardType': 'PXI'}})
      • Repeated capabilities are handled differently. See #737 for discussion
      • All function parameters or attributes that represent time now use datetime.timedelta(). See #659 for discussion
      • All functions that return calibration dates now return datetime.datetime(). See #659 for discussion
  • NI-DMM

    • Changed

      • nidmm.Session() no longer takes id_query parameter (Fix #670)
      • The following functions timeout or delay parameter now is required to be a datetime.timedelta() object:
        • configure_multi_point()
        • configure_trigger()
        • fetch()
        • fetch_multi_point()
        • fetch_waveform()
        • read()
        • read_multi_point()
        • read_waveform()
      • The following functions return a datetime.datetime() object representing the date and time
        • get_cal_date_and_time()
      • Metadata updated to NI-DMM 17.5
    • Removed

      • Removed these enums and disconnected them from the associated attribute (Fix #666)
        • DCBias - DC_BIAS
        • OffsetCompensatedOhms - OFFSET_COMP_OHMS
  • NI-Switch

    • Changed

      • The following functions timeout, delay or holdoff parameters now is required to be a datetime.timedelta() object:
        • configure_scan_trigger()
        • wait_for_debounce()
        • wait_for_scan_complete()
  • NI-DCPower

    • Added

      • channel repeated capability - See #737 for discussion
    • Changed

      • Metadata updated to NI-DCPower 17.6.1
      • The following functions timeout parameter now is required to be a datetime.timedelta() object:
        • fetch_multiple()
        • wait_for_event()
      • The following functions return a datetime.datetime() object representing the date and time
        • get_ext_cal_last_date_and_time()
        • get_self_cal_last_date_and_time()
    • Removed

      • Removed these enums and disconnected them from the associated attribute (Fix #666)
        • CurrentLimitAutorange - CURRENT_LIMIT_AUTORANGE
        • CurrentLevelAutorange - CURRENT_LEVEL_AUTORANGE
        • VoltageLevelAutorange - VOLTAGE_LEVEL_AUTORANGE
        • VoltageLimitAutorange - VOLTAGE_LIMIT_AUTORANGE
  • NI-FGEN

    • Changed

      • Repeated capablilites - See #737 for discussion:
        • channel repeated capability
        • markers repeated capability
        • script_triggers repeated capability
      • The following functions timeout parameter now is required to be a datetime.timedelta() object:
        • adjust_sample_clock_relative_delay()
        • wait_until_done()
      • The following functions return a datetime.datetime() object representing the date and time
        • get_ext_cal_last_date_and_time()
        • get_self_cal_last_date_and_time()
  • NI-SCOPE

    • Added

      • Repeated capablilites - See #737 for discussion:
        • channel repeated capability
    • Changed

      • niscope.Session() no longer takes id_query parameter (Fix #670)
      • The following functions timeout, delay or holdoff parameters now is required to be a datetime.timedelta() object:
        • configure_trigger_digital()
        • configure_trigger_edge()
        • configure_trigger_hysteresis()
        • configure_trigger_software()
        • configure_trigger_video()
        • configure_trigger_window()
        • fetch()
        • fetch_measurement_stats()
        • read()
    • Removed

      • Removed these enums and disconnected them from the associated attribute (Fix #666)
        • BoolEnableDisable - P2P_ENABLED, P2P_ADVANCED_ATTRIBUTES_ENABLED, P2P_ONBOARD_MEMORY_ENABLED
        • BoolEnableDisableChan - CHANNEL_ENABLED
        • BoolEnableDisableIQ - FETCH_INTERLEAVED_IQ_DATA
        • BoolEnableDisableRealtime - HORZ_ENFORCE_REALTIME
        • BoolEnableDisableTIS - ENABLE_TIME_INTERLEAVED_SAMPLING