Releases: ni/nimi-python
Releases · ni/nimi-python
nirfsg 1.0.1
- Changed
- Added default value for
moduleparameter inget_self_cal_last_date_and_timeandget_self_calibration_temperaturemethods to align with documentation and allow duck-typing - Changed the parameter name for waveform name from
nametowaveform_nameinclear_arb_waveformandselect_arb_waveformto 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_timetoget_self_cal_last_date_and_timeget_external_calibration_last_date_and_timetoget_ext_cal_last_date_and_time
- Changed
frequency_settlingproperty to be of type float instead of hightime.timedelta, since it can have multiple interpretation based onfrequency_settling_unitsproperty value - Changed
interpolation_delayandrelative_delayproperties to be of type hightime.timedelta, so that it aligns with delay attributes across other APIs in the repository - Changed
exported_ref_clock_rateandref_clock_rateproperties to be of type float instead of enum, since the enums just represented raw float values - Fixed the return type of
get_all_script_namesandget_all_named_waveform_namesto remove the size parameter and return a list of strings instead of a comma-separated string - Updated
external_calibration_recommended_intervalproperty to return a hightime.timedelta object instead of months as an int, aligning with other APIs in the repository - Updated
self_testto not have any parameters, aligning with other APIs in the repository - Updated
wait_until_settledmethod to havemax_time_millisecondsparameter 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_sourceexported_pulse_modulation_event_output_terminalexported_ref_clock_output_terminallo_sourcearb_sample_clock_sourceref_clock_sourcetrigger_identifierparameter insend_software_edge_triggermethod
- Updated below properties to be list of str instead of them returning a comma separated list of string values
available_pathsavailable_portsfixed_group_delay_across_portsgroup_capabilitiessupported_instrument_models
- Added default value for
- Removed
- Python 3.9 Support
- Methods and properties applicable only to hardware which are not supported anymore
- Methods
configure_digital_modulation_user_defined_waveformconfigure_pxi_chassis_clk10
- Properties
analog_modulation_fm_deviationanalog_modulation_waveform_frequencyarb_filter_raised_cosine_alphaarb_filter_root_raised_cosine_alphaarb_filter_typearb_oscillator_phase_dac_valuearb_powerattenuator_hold_enabledattenuator_hold_max_powercompensate_for_filter_group_delaydata_transfer_block_sizedata_transfer_maximum_bandwidthdata_transfer_maximum_in_flight_readsdata_transfer_preferred_packet_sizedigital_modulation_fsk_deviationdigital_modulation_prbs_orderdigital_modulation_prbs_seeddigital_modulation_symbol_ratedigital_modulation_typedigital_modulation_waveform_typedigital_patternfrequency_tolerancepeak_power_adjustment_inheritancepxi_chassis_clk10_source
- Methods
- Methods and properties which are necessary for IVI compliance of the driver, but are not applicable for Python
- Methods
check_attribute_vi_booleancheck_attribute_vi_int32check_attribute_vi_int64check_attribute_vi_real64check_attribute_vi_sessioncheck_attribute_vi_stringclear_errordisableerror_queryget_channel_namereset_attributerevision_query
- Properties
cacheinterchange_checkquery_instrument_statusrange_checkrecord_coercionssimulate
- Methods
Fake Release to Fix Internal Testing
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
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
- Added
- API parity with NI-DCPower 2025 Q2.
- Properties:
constant_power_compensation_frequencyconstant_power_current_limitconstant_power_gain_bandwidthconstant_power_levelconstant_power_level_rangeconstant_power_pole_zero_ratioconstant_resistance_compensation_frequencyconstant_resistance_current_limitconstant_resistance_gain_bandwidthconstant_resistance_levelconstant_resistance_level_rangeconstant_resistance_pole_zero_ratiooutput_shorted
- Enum values:
CONSTANT_RESISTANCEandCONSTANT_POWERadded to enumOutputFunction
- Properties:
nidcpower_constant_resistance_and_constant_power.pyandnidcpower_sink_dc_current_into_electronic_load.pyexamples
- API parity with NI-DCPower 2025 Q2.
Python 3.13 Support and enable_match_fail_combination
-
ALL
-
Added
- Support for Python 3.13
-
Changed
- Fix #2069
-
Removed
- Support for Python 3.8
-
-
nidcpower(NI-DCPower)-
Added
- API parity with NI-DCPower 2025 Q1.
- Enum value added:
INHIBITEDadded to enumOutputStates.
- Enum value added:
- API parity with NI-DCPower 2025 Q1.
-
Changed
- Fixed #2067:
nidcpower.OutputStatesvalues are incorrect.
- Fixed #2067:
-
-
nidigital(NI-Digital Pattern Driver)-
Added
- Methods Added:
enable_match_fail_combination
- Methods Added:
-
Python 3.12 Support
-
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)
NI-DCPower 2023 Q4 API Parity
-
nidcpower(NI-DCPower)-
Added
- API parity with NI-DCPower 2023 Q4.
- Properties added:
current_level_rising_slew_ratecurrent_level_falling_slew_rateconduction_voltage_modeconduction_voltage_on_thresholdconduction_voltage_off_thresholdoutput_cutoff_voltage_measure_limit_highoutput_cutoff_voltage_measure_limit_low
- Enum added:
ConductionVoltageMode
- Enum values added:
E_LOADadded to enumInstrumentModeCURRENT_SATURATED,VOLTAGE_MEASURE_HIGHandVOLTAGE_MEASURE_LOWadded to enumOutputCutoffReason
- Properties added:
- API parity with NI-DCPower 2023 Q4.
-
Faster niscope.Session.fetch()
Fix niscope multi-instrument fetches and add telemetry support to driver apis.
-
ALL
-
Removed
easy_installsupport
-
-
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
-
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.
-