⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Releases: ni/nimi-python

nirfsg 1.0.1

11 Jan 18:34
c7538ad

Choose a tag to compare

  • Changed
    • Added default value for module parameter in get_self_cal_last_date_and_time and get_self_calibration_temperature methods to align with documentation and allow duck-typing
    • Changed the parameter name for waveform name from name to waveform_name in clear_arb_waveform and select_arb_waveform to be consistent with other waveform methods
    • Changed the name of below methods to be consistent with other APIs in the repository
      • get_self_calibration_last_date_and_time to get_self_cal_last_date_and_time
      • get_external_calibration_last_date_and_time to get_ext_cal_last_date_and_time
    • Changed frequency_settling property to be of type float instead of hightime.timedelta, since it can have multiple interpretation based on frequency_settling_units property value
    • Changed interpolation_delay and relative_delay properties to be of type hightime.timedelta, so that it aligns with delay attributes across other APIs in the repository
    • Changed exported_ref_clock_rate and ref_clock_rate properties to be of type float instead of enum, since the enums just represented raw float values
    • Fixed the return type of get_all_script_names and get_all_named_waveform_names to remove the size parameter and return a list of strings instead of a comma-separated string
    • Updated external_calibration_recommended_interval property to return a hightime.timedelta object instead of months as an int, aligning with other APIs in the repository
    • Updated self_test to not have any parameters, aligning with other APIs in the repository
    • Updated wait_until_settled method to have max_time_milliseconds parameter as type hightime.timedelta with a default value of 10 seconds
    • Updated below properties and method parameters to be of string enum type instead of plain string, since they would support only fixed set of strings
      • pulse_modulation_source
      • exported_pulse_modulation_event_output_terminal
      • exported_ref_clock_output_terminal
      • lo_source
      • arb_sample_clock_source
      • ref_clock_source
      • trigger_identifier parameter in send_software_edge_trigger method
    • Updated below properties to be list of str instead of them returning a comma separated list of string values
      • available_paths
      • available_ports
      • fixed_group_delay_across_ports
      • group_capabilities
      • supported_instrument_models
  • Removed
    • Python 3.9 Support
    • Methods and properties applicable only to hardware which are not supported anymore
      • Methods
        • configure_digital_modulation_user_defined_waveform
        • configure_pxi_chassis_clk10
      • Properties
        • analog_modulation_fm_deviation
        • analog_modulation_waveform_frequency
        • arb_filter_raised_cosine_alpha
        • arb_filter_root_raised_cosine_alpha
        • arb_filter_type
        • arb_oscillator_phase_dac_value
        • arb_power
        • attenuator_hold_enabled
        • attenuator_hold_max_power
        • compensate_for_filter_group_delay
        • data_transfer_block_size
        • data_transfer_maximum_bandwidth
        • data_transfer_maximum_in_flight_reads
        • data_transfer_preferred_packet_size
        • digital_modulation_fsk_deviation
        • digital_modulation_prbs_order
        • digital_modulation_prbs_seed
        • digital_modulation_symbol_rate
        • digital_modulation_type
        • digital_modulation_waveform_type
        • digital_pattern
        • frequency_tolerance
        • peak_power_adjustment_inheritance
        • pxi_chassis_clk10_source
    • Methods and properties which are necessary for IVI compliance of the driver, but are not applicable for Python
      • Methods
        • check_attribute_vi_boolean
        • check_attribute_vi_int32
        • check_attribute_vi_int64
        • check_attribute_vi_real64
        • check_attribute_vi_session
        • check_attribute_vi_string
        • clear_error
        • disable
        • error_query
        • get_channel_name
        • reset_attribute
        • revision_query
      • Properties
        • cache
        • interchange_check
        • query_instrument_status
        • range_check
        • record_coercions
        • simulate

Fake Release to Fix Internal Testing

09 Aug 00:06
4b9434f

Choose a tag to compare

This is not a real release.
Our internal tests for nimi-python were failing the system tests due to a driver change.
This required an update to the system tests and a new release tag so that we would copy the latest version of the tests for our internal testing.

Initial release of nirfsg API

05 Aug 15:24
6769299

Choose a tag to compare

Note: there were previous nirfsg package uploads to pypi. This is a completely new API, that is not compatible with that one.

  • Added
    • Initial release

nidcpower 1.5.0

01 Jul 20:24
8a06f63

Choose a tag to compare

  • Added
    • API parity with NI-DCPower 2025 Q2.
      • Properties:
        • constant_power_compensation_frequency
        • constant_power_current_limit
        • constant_power_gain_bandwidth
        • constant_power_level
        • constant_power_level_range
        • constant_power_pole_zero_ratio
        • constant_resistance_compensation_frequency
        • constant_resistance_current_limit
        • constant_resistance_gain_bandwidth
        • constant_resistance_level
        • constant_resistance_level_range
        • constant_resistance_pole_zero_ratio
        • output_shorted
      • Enum values:
        • CONSTANT_RESISTANCE and CONSTANT_POWER added to enum OutputFunction
    • nidcpower_constant_resistance_and_constant_power.py and nidcpower_sink_dc_current_into_electronic_load.py examples

Python 3.13 Support and enable_match_fail_combination

26 Feb 22:38
5ddb04d

Choose a tag to compare

  • ALL

    • Added

      • Support for Python 3.13
    • Changed

    • Removed

      • Support for Python 3.8
  • nidcpower (NI-DCPower)

    • Added

      • API parity with NI-DCPower 2025 Q1.
        • Enum value added:
          • INHIBITED added to enum OutputStates.
    • Changed

      • Fixed #2067: nidcpower.OutputStates values are incorrect.
  • nidigital (NI-Digital Pattern Driver)

    • Added

      • Methods Added:
        • enable_match_fail_combination

Python 3.12 Support

26 Apr 20:24
3b9f060

Choose a tag to compare

  • ALL

    • Added

      • Support for Python 3.12
  • nidcpower (NI-DCPower)

    • Changed

      • Fix #1664: nidcpower_advanced_sequence.py has several issues preventing it from working out of the box on real hardware.
  • nifgen (NI-FGEN)

    • Added

      • Properties added:
        • started_event_pulse_width - #1873
        • done_event_pulse_width - #1873
        • marker_event_pulse_width - #1873
        • started_event_pulse_width_units - #1873
        • done_event_pulse_width_units - #1873
        • marker_event_pulse_width_units - #1873
      • Enum added:
        • EventPulseWidthUnits - #1873

NI-DCPower 2023 Q4 API Parity

15 Dec 20:24
5705da5

Choose a tag to compare

  • nidcpower (NI-DCPower)

    • Added

      • API parity with NI-DCPower 2023 Q4.
        • Properties added:
          • current_level_rising_slew_rate
          • current_level_falling_slew_rate
          • conduction_voltage_mode
          • conduction_voltage_on_threshold
          • conduction_voltage_off_threshold
          • output_cutoff_voltage_measure_limit_high
          • output_cutoff_voltage_measure_limit_low
        • Enum added:
          • ConductionVoltageMode
        • Enum values added:
          • E_LOAD added to enum InstrumentMode
          • CURRENT_SATURATED, VOLTAGE_MEASURE_HIGH and VOLTAGE_MEASURE_LOW added to enum OutputCutoffReason

Faster niscope.Session.fetch()

11 Sep 20:08
5edb17d

Choose a tag to compare

  • ALL

    • Changed

      • Fix #1970: Incorrect error when driver runtime not installed.
      • Fix #1998: nimi-python APIs inefficiently allocate Python arrays.
    • Removed

      • Support for Python 3.7

Fix niscope multi-instrument fetches and add telemetry support to driver apis.

12 Jun 13:53
5f25e79

Choose a tag to compare

  • ALL

    • Removed

      • easy_install support
  • nidigital (NI-Digital Pattern Driver)

    • Added

      • Pass Python interpreter information if the driver runtime version supports it. This is used by NI in order to better understand client usage.
  • nidmm (NI-DMM)

    • Added

      • Pass Python interpreter information if the driver runtime version supports it. This is used by NI in order to better understand client usage.
  • nifgen (NI-FGEN)

    • Added

      • Pass Python interpreter information if the driver runtime version supports it. This is used by NI in order to better understand client usage.
  • niscope (NI-SCOPE)

    • Added

      • get_channel_names()
      • Pass Python interpreter information if the driver runtime version supports it. This is used by NI in order to better understand client usage.
    • Changed

      • Fix #1770: fetch(), read(), and friends return wrong data when called with channel ranges on multi-instrument session.
  • niswitch (NI-SWITCH)

    • Added

      • Pass Python interpreter information if the driver runtime version supports it. This is used by NI in order to better understand client usage.

Add Python 3.11 Support and API Parity with 2023 Q2 Driver Runtimes

14 Apr 16:55
272fe25

Choose a tag to compare

  • ALL

    • Added

      • Support for Python 3.11
    • Changed

      • Fix #1888: Deadlock on multithreaded usage due to UnlockSession always being called with callerHasLock=False.
  • nidcpower (NI-DCPower)

    • Added

      • Pass Python interpreter information if the driver runtime version supports it. This is used by NI in order to better understand client usage.
      • API parity with NI-DCPower 2023 Q2.
        • Properties added:
          • lcr_ac_dither_enabled
          • lcr_ac_electrical_cable_length_delay
          • lcr_dc_bias_transient_response
          • lcr_source_aperture_time
          • measure_complete_event_output_behavior
          • measure_complete_event_toggle_initial_state
          • sequence_engine_done_event_output_behavior
          • sequence_engine_done_event_toggle_initial_state
          • sequence_iteration_complete_event_output_behavior
          • sequence_iteration_complete_event_toggle_initial_state
          • source_complete_event_output_behavior
          • source_complete_event_toggle_initial_state
        • Enums added:
          • CurrentLimitBehavior
          • EventOutputBehavior
          • EventToggleInitialState
          • LCRDCBiasTransientResponse
        • Enum values added:
          • AS_CONFIGURED added to enum LCROpenShortLoadCompensationDataSource
          • NI_STANDARD_0_5M added to enum CableLength
        • Methods added:
          • configure_lcr_compensation
          • get_lcr_compensation_data
    • Changed

      • Enums reordered:
        • AutoZero
        • CableLength
  • nidigital (NI-Digital Pattern Driver)

    • Changed

      • Update GRPC_SERVICE_INTERFACE_NAME to use the correct gRPC package name (nidigitalpattern_grpc).
  • niscope (NI-SCOPE)

    • Changed

      • Fix #1941: When calling niscope.Session.fetch_array_measurement in a MeasurementLink measurement plugin, meas_wfm_size cannot be set.
        • Requires NI gRPC Device Server 2023 Q2 or later. Older versions do not support this parameter and return all available samples.