Releases: ni/nimi-python
Releases · ni/nimi-python
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
-
nitclk 1.0, nidigital 0.4, and 1.2 of other modules
-
ALL
-
Added
- Zip file per driver for all examples and any helper files
- Link to zip file on examples documentation
- Support for Python 3.8
-
Changed
-
Removed
- Python 2.7 support - Python Software Foundation version status
- Python 3.4 support - Python Software Foundation PEP 429
- PyPy and PyPy3 support #1271
-
-
NI-DCPower
-
Added
create_advanced_sequence()- #504- Instead of a list of attribute IDs, you pass in a list of property names as strings
- Includes example to see how to use it
- Additional methods and properties that were made public (rather than private)
create_advanced_sequence_step()delete_advanced_sequence()active_advanced_sequenceactive_advanced_sequence_step
-
-
NI-FGEN
-
Added
nifgen.Session.import_attribute_configuration_file()nifgen.Session.import_attribute_configuration_buffer()nifgen.Session.export_attribute_configuration_file()nifgen.Session.export_attribute_configuration_buffer()nifgen.Session.get_channel_name()
-
Changed
nifgen.Session.send_software_edge_trigger()now takes two parameters -triggerandtrigger_id- See documentation on how to call this function
- Calling the previous way will log a DeprecationWarning to the warning subsystem
- #1300
-
-
NI-Digital Pattern Driver
-
Added
-
Changed
write_source_waveform_site_unique()now supportsnumpy.arrayandlistas site waveform typesfetch_history_ram_cycle_informationmethod now supports fetching multiple History RAM samples in a single API call - #1071- Update methods that require
pin_listto be passed in, such thatpin_listcan be passed in viapinsrepeated capability - #1294
-
Removed
- Removed redundant (redundant because corresponding properties can be used instead) API methods - #1065
- Removed programmatic pin map creation API - #1124
- Removed
fetch_history_ram_cycle_pin_dataandfetch_history_ram_scan_cycle_number. They are not needed sincefetch_history_ram_cycle_information
was updated to return class instances that contains cycle pin data and scan cycle number - #1071
-
-
NI-TClk
-
Changed
- Method parameters and properties that are time based now take or return a
datetime.timedeltaobject
- Method parameters and properties that are time based now take or return a
-
Removed
- Ability to pass an integer as a session / session reference
nitclk.SessionReference.script_trigger_master_sessionremoved - repeated capabilities not supported on nitclk attributes - #1221
-
Fix Linux support, Update "Driver Version Tested Against" in documentation
-
ALL
-
Changed
- Fix #1140: Linux support was accidentally broken.
- Update "Driver Version Tested Against", in documentation, with latest versions installed on nimi-bot.
-