Releases: ni/nimi-python
Releases · ni/nimi-python
Add Python 3.11 Support and API Parity with 2023 Q2 Driver Runtimes
-
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_enabledlcr_ac_electrical_cable_length_delaylcr_dc_bias_transient_responselcr_source_aperture_timemeasure_complete_event_output_behaviormeasure_complete_event_toggle_initial_statesequence_engine_done_event_output_behaviorsequence_engine_done_event_toggle_initial_statesequence_iteration_complete_event_output_behaviorsequence_iteration_complete_event_toggle_initial_statesource_complete_event_output_behaviorsource_complete_event_toggle_initial_state
- Enums added:
CurrentLimitBehaviorEventOutputBehaviorEventToggleInitialStateLCRDCBiasTransientResponse
- Enum values added:
AS_CONFIGUREDadded to enumLCROpenShortLoadCompensationDataSourceNI_STANDARD_0_5Madded to enumCableLength
- Methods added:
configure_lcr_compensationget_lcr_compensation_data
- Properties added:
-
Changed
- Enums reordered:
AutoZeroCableLength
- Enums reordered:
-
-
nidigital(NI-Digital Pattern Driver)-
Changed
- Update
GRPC_SERVICE_INTERFACE_NAMEto use the correct gRPC package name (nidigitalpattern_grpc).
- Update
-
-
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.
- Fix #1941: When calling niscope.Session.fetch_array_measurement in a MeasurementLink measurement plugin, meas_wfm_size cannot be set.
-
Added support for Python 3.10, drop Python 3.6, and support 2022 Q4 drivers
-
ALL
-
Added
- Support for Python 3.10
-
Removed
- Support for Python 3.6
-
-
nidcpower(NI-DCPower)-
Added
- MeasurementLink support
-
Changed
- Binary compatibility change for type
LCRLoadCompensationSpoton Linux. Client code using methodnidcpower.Session.perform_lcr_load_compensationon Linux now requires NI-DCPower 2023 Q1 driver runtime or newer.
- Binary compatibility change for type
-
-
nidigital(NI-Digital Pattern Driver)-
Added
- MeasurementLink support
-
-
nidmm(NI-DMM)-
Added
- MeasurementLink support
-
-
nifgen(NI-FGEN)-
Added
- MeasurementLink support
-
-
niscope(NI-SCOPE)-
Added
- MeasurementLink support
-
-
niswitch(NI-SWITCH)-
Added
- MeasurementLink support
-
Changed
- Fix #1652: Topology constants haven't been updated on help page
-
LCR support and API parity with 2022 Q3 driver in nidcpower
-
nidcpower(NI-DCPower)-
Added
- API parity with NI-DCPower 2022 Q3.
- Properties added:
aperture_time_auto_modeautorange_maximum_delay_after_range_changecable_lengthinstrument_modeisolation_statelcr_actual_load_reactancelcr_actual_load_resistancelcr_automatic_level_controllcr_current_amplitudelcr_current_rangelcr_custom_measurement_timelcr_dc_bias_automatic_level_controllcr_dc_bias_current_levellcr_dc_bias_current_rangelcr_dc_bias_sourcelcr_dc_bias_voltage_levellcr_dc_bias_voltage_rangelcr_frequencylcr_impedance_auto_rangelcr_impedance_rangelcr_impedance_range_sourcelcr_load_capacitancelcr_load_compensation_enabledlcr_load_inductancelcr_load_resistancelcr_measured_load_reactancelcr_measured_load_resistancelcr_measurement_timelcr_open_compensation_enabledlcr_open_conductancelcr_open_short_load_compensation_data_sourcelcr_open_susceptancelcr_short_compensation_enabledlcr_short_custom_cable_compensation_enabledlcr_short_reactancelcr_short_resistancelcr_source_delay_modelcr_stimulus_functionlcr_voltage_amplitudelcr_voltage_range
- Enums added:
ApertureTimeAutoModeCableLengthInstrumentModeLCRCompensationTypeLCRDCBiasSourceLCRImpedanceRangeSourceLCRMeasurementTimeLCROpenShortLoadCompensationDataSourceLCRReferenceValueTypeLCRSourceDelayModeLCRStimulusFunction
- Methods added:
configure_lcr_custom_cable_compensationfetch_multiple_lcrget_lcr_compensation_last_date_and_timeget_lcr_custom_cable_compensation_datameasure_multiple_lcrperform_lcr_load_compensationperform_lcr_open_compensationperform_lcr_open_custom_cable_compensationperform_lcr_short_compensationperform_lcr_short_custom_cable_compensation
- Custom types added:
LCRLoadCompensationSpotLCRMeasurement
- Properties added:
nidcpower_lcr_source_ac_voltage.pyexample
- API parity with NI-DCPower 2022 Q3.
-
Changed
- Updated supported devices information in documentation for methods and properties
- Added
channelfield to theMeasurementnamedtuple instances returned byfetch_multipleandmeasure_multiple
-
-
nifgen(NI-FGEN)-
Added
data_markersrepeated capability support - #1668
-
Changed
- Addressed #1627 for attributes supporting the following repeated capabilities
channelsmarkersdata_markersscript_triggers
- Corrected multiple mistakes in repeated capability info of attribute metadata
- alters API behavior (repeated capability access of attributes) and documentation
- Addressed #1627 for attributes supporting the following repeated capabilities
-
Add Python 3.9, drop Python 3.5, and support 21.0 drivers
-
ALL
-
Added
- Support for Python 3.9
-
Removed
- Support for Python 3.5
-
-
nidcpower(NI-DCPower)-
Added
- API parity with NI-DCPower 21.0.0.
- Properties added:
output_cutoff_delay
- Properties added:
- API parity with NI-DCPower 21.0.0.
-
-
nidigital(NI-Digital Pattern Driver)-
Added
- API parity with NI-Digital Pattern Driver 21.0.0.
- Properties added:
digital_edge_rio_trigger_edgedigital_edge_rio_trigger_sourceexported_rio_event_output_terminalrio_event_terminal_namerio_trigger_terminal_namerio_trigger_type
- Repeated Capabilities added:
rio_eventsrio_triggers
- Properties added:
- API parity with NI-Digital Pattern Driver 21.0.0.
-
Independent Channels support in nidcpower
-
nidcpower(NI-DCPower)-
Added
- Support for independent operation of instrument channels. Creating an
nidcpower.Session
with independent channels allows you to use multiple instruments in the same session. With
independent channels, you can configure multiple channels of the same instrument, or of
multiple instruments, independently of one another within the same session. get_channel_names- #1588create_advanced_sequence_commit_step- #1636- API parity with NI-DCPower 20.7.0 by adding Output Cutoff functionality.
- Properties added:
output_cutoff_current_change_limit_highoutput_cutoff_current_change_limit_lowoutput_cutoff_current_measure_limit_highoutput_cutoff_current_measure_limit_lowoutput_cutoff_current_overrange_enabledoutput_cutoff_enabledoutput_cutoff_voltage_change_limit_highoutput_cutoff_voltage_change_limit_lowoutput_cutoff_voltage_output_limit_highoutput_cutoff_voltage_output_limit_low
- Methods added:
clear_latched_output_cutoff_statequery_latched_output_cutoff_state
- Properties added:
- Support for independent operation of instrument channels. Creating an
-
nidigital 1.0.0 and 1.3.3 of other modules
-
nidcpower(NI-DCPower)-
Added
- API parity with NI-DCPower 20.6.0 by adding Merged Channels and Shutdown Triggers support. The following properties are added:
merged_channelsdigital_edge_shutdown_trigger_input_terminalshutdown_trigger_type
- API parity with NI-DCPower 20.6.0 by adding Merged Channels and Shutdown Triggers support. The following properties are added:
-
-
nidigital(NI-Digital Pattern Driver)-
Added
- 1.0.0 release:
- API reference documentation and API usage examples
- API parity with NI-Digital Pattern Driver 20.6.0 by adding support for configuration of frequency counter measurement mode. The following properties are added:
frequency_counter_measurement_modefrequency_counter_hysteresis_enabled
- 1.0.0 release:
-
-
nifgen(NI-FGEN)-
Added
- nifgen_trigger.py example to demonstrate pulling a trigger from another device.
-
-
nitclk(NI-TClk)-
Added
- nitclk_niscope_synchronize_with_trigger.py to demonstrate homogenous triggering.
-
Removed
- nitclk_configure.py as it did not do anything.
-
nidigital 0.9.2 and 1.3.2 of other modules
-
ALL
-
Changed
- Fix #1491: import_attribute_configuration_buffer() fails intermittently when
listorarray.arrayis passed in. - Update "Driver Version Tested Against", in documentation, with latest versions installed on nimi-bot. The version is 20.5.0 for NI-DCPower, NI-SWITCH, and NI-DMM. no changes on other drivers.
- Fix #1491: import_attribute_configuration_buffer() fails intermittently when
-
-
nidcpower(NI-DCPower)-
Added
- API parity with NI-DCPower 20.5.0 by adding measurement autoranging threshold range support, for which the following properties are added:
autorangeautorange_aperture_time_modeautorange_behaviorautorange_minimum_aperture_timeautorange_minimum_aperture_time_unitsautorange_minimum_current_rangeautorange_minimum_voltage_rangeautorange_threshold_mode
- API parity with NI-DCPower 20.5.0 by adding measurement autoranging threshold range support, for which the following properties are added:
-
-
niscope(NI-SCOPE)-
Added
- New methods for getting calibration information. - #1463
get_ext_cal_last_date_and_timeget_ext_cal_last_tempget_self_cal_last_date_and_timeget_self_cal_last_temp
- Measurement library methods. - #806
add_waveform_processingclear_waveform_measurement_statsclear_waveform_processingfetch_array_measurementfetch_measurement_stats
- Measurement library properties.
meas_array_gainmeas_array_offsetmeas_chan_high_ref_levelmeas_chan_low_ref_levelmeas_chan_mid_ref_levelmeas_filter_center_freqmeas_filter_cutoff_freqmeas_filter_ordermeas_filter_ripplemeas_filter_tapsmeas_filter_transient_waveform_percentmeas_filter_typemeas_filter_widthmeas_fir_filter_windowmeas_high_refmeas_low_refmeas_mid_refmeas_hysteresis_percentmeas_interpolation_sampling_factormeas_last_acq_histogram_sizemeas_other_channelmeas_percentage_methodmeas_polynomial_interpolation_ordermeas_ref_level_unitsmeas_time_histogram_high_timemeas_time_histogram_high_voltsmeas_time_histogram_low_timemeas_time_hisogram_low_voltsmeas_time_histogram_sizemeas_voltage_histogram_high_voltsmeas_voltage_histogram_low_voltsmeas_voltage_histogram_size
- New methods for getting calibration information. - #1463
-
Changed
-
nidigital 0.9.1 and 1.3.1 of other modules
nidigital 0.9.0 and 1.3.0 of other modules
-
ALL
-
Changed
- Change the type of applicable properties and method parameters from
datetime.timedeltatohightime.timedeltaand fromdatetime.datetimetohightime.datetime. - #744, #1368, #1382, #1397 - Update "Driver Version Tested Against", in documentation, with latest versions installed on nimi-bot. The version is 20.0.0 for all modules except nidigital, for which it is 19.0.1.
- Change the type of applicable properties and method parameters from
-
-
NI-DCPower
-
Added
- API parity with NI-DCPower 20.0 by adding the following properties:
Session.serial_numberSession.actual_power_allocationSession.requested_power_allocationSession.power_allocation_mode
- API parity with NI-DCPower 20.0 by adding the following properties:
-
-
NI-Digital Pattern Driver
-
Added
- 0.9.0 release:
- Public API is considered complete, stable, and tested
- Parity with public API for other ADEs supported in NI-Digital Pattern Driver 19.0.1
- API reference documentation and example code are not complete
- 0.9.0 release:
-
Changed
-
-
NI-SCOPE
-
Added
- API parity with NI-SCOPE 20.0 by adding the following properties:
Session.end_of_acquisition_event_terminal_nameSession.end_of_record_event_terminal_nameSession.advance_trigger_terminal_nameSession.ref_trigger_terminal_nameSession.start_trigger_terminal_nameSession.ready_for_advance_event_terminal_nameSession.ready_for_ref_event_terminal_nameSession.ready_for_start_event_terminal_name
- API parity with NI-SCOPE 20.0 by adding the following properties:
-
nidigital 0.5.0 and 1.2.1 of other modules
-
ALL
-
Added
-
Support for chained repeated capabilities. This allows things like
session.sites[0, 1].pins['PinA', 'PinB'].ppmu_voltage_level = 4
The repeated capabilities will be expanded to
'site0/PinA,site0/PinB,site1/PinA,site1/PinB'
-
-
-
NI-Digital Pattern Driver
-
Added
get_pattern_pin_names- #1292- Support for
instrumentsrepeated capability in the following properties -instrument_firmware_revision,serial_number, andtiming_absolute_delay- #1228 load_specifications_levels_and_timingthat allows loading of multiple specs, levels, and/or timing files in a single call - #1392get_channel_names- #1386
-
Changed
- Change the type of applicable method parameters and properties to enums - #1066
get_site_pass_failreturns dictionary where each key is a site number and value is a bool indicating pass/fail - #1297burst_patternreturns dictionary where each key is a site number and value is a bool indicating pass/fail, ifwait_until_doneis specified asTrue- #1296- Update enum types to match the API in other ADEs - #1330:
- Update the names of many enum types. See #1330 for the full list.
- Added
WriteStaticPinStateenum type and changed the parameter type ofwrite_staticmethod to the newly added enum. - Added
SoftwareTriggerenum type and changed the parameter type ofsend_software_edge_triggermethod to the newly added enum.
- Update
fetch_history_ram_cycle_information,get_history_ram_sample_count, andis_site_enabledto usesitesrepeated capability - #1337 - Rename parameter
time_settotime_set_namein applicable time set methods - #1396 - Modified
unload_specificationsto allow unloading of one or more specs files in a single call - #1392 - In
load_pin_map, changed parameter namepin_map_file_pathtofile_path- #1393
-
Removed
get_pattern_pin_list,get_pattern_pin_indexesandget_pin_name- #1292get_site_results_site_numbersmethod andSiteResultTypeenum - #1298reset_attribute- #1364clear_error- #1366clock_generator_initiate- #1370load_specifications,load_levels, andload_timing- #1392get_channel_nameandget_channel_name_from_string- #1386
-
-
NI-TClk
-
Changed
- Version updated to 1.2.1 to match other released nimi-python modules
-