Releases: ni/nixnet-python
Releases · ni/nixnet-python
Linux desktop distributions support
Features
- Added support for Linux desktop distributions
Bug Fixes
- Fixed a bug for Converter session bug #275
0.3.1: Increase API Support
0.3.0: Add Database API Support
Breaking Changes
- Renamed
Database.save_database()
toDatabase.save()
039e374Database.save()
now defaults to overwriting
- Renamed
Database.cluster
toDatabase.clusters
57fb0cf LinSchedEntry.frames
will now get/set a list of Frame objects instead 855b783- Changed type of
Ecu.lin_protocol_ver
to an enum 02dac70 - Renamed
nixnet.db
namespace tonixnet.database
d539f32 - Renamed database objects' properties b216d61
- Renamed
Cluster.pd_us_reqd
toCluster.pdus_reqd
- Renamed
Cluster.sig_refs
toCluster.sigs
- Renamed
Ecu.clst_ref
toEcu.clst
- Renamed
Ecu.rx_frm_refs
toEcu.rx_frms
- Renamed
Ecu.tx_frm_refs
toEcu.tx_frms
- Renamed
Ecu.linp_2min
toEcu.lin_p2_min
- Renamed
Ecu.lins_tmin
toEcu.lin_st_min
- Renamed
Frame.cluster_ref
toFrame.cluster
- Renamed
Frame.sig_refs
toFrame.sigs
- Renamed
Frame.mux_data_mux_sig_ref
toFrame.mux_data_mux_sig
- Renamed
Frame.pdu_refs
toFrame.pdus
- Renamed
LinSched.clst_ref
toLinSched.clst
- Renamed
Pdu.cluster_ref
toPdu.cluster
- Renamed
Pdu.frm_refs
toPdu.frms
- Renamed
Pdu.mux_data_mux_sig_ref
toPdu.mux_data_mux_sig
- Renamed
Pdu.mux_static_sig_refs
toPdu.mux_static_sigs
- Renamed
Signal.frame_ref
toSignal.frame
- Renamed
Signal.pdu_ref
toSignal.pdu
- Renamed
Signal.mux_subfrm_ref
toSignal.mux_subfrm
- Renamed
SubFrame.frm_ref
toSubFrame.frm
- Renamed
SubFrame.pdu_ref
toSubFrame.pdu
- Renamed
- Changed database objects' property types b216d61
- Frame.application_protocol is now constants.AppProtocol
- Frame.can_timing_type type is now constants.FrmCanTiming
- Frame.lin_checksum type is now constants.FrmLinChecksum
- All property renames that dropped "ref" now get/set the db object
except for Cluster.database (opened issue #244)
- Removed
constants.IntfCanFdIsoMode
(unused duplicate ofconstants.CanFdIsoMode
) b216d61 - Renamed
config_status
tocheck_config_status
fb9db27check_config_status
now raises exceptions and logs warnings (as opposed to returning a status code)
pdus
,pdu_start_bits
, andpdu_update_bits
properties have been removed from the Frame class. Usepdu_properties
instead. 043b296- Renamed
constants.DevForm.PX_IE
toconstants.DevForm.PXIE
df5d287
Features
- Expose System and Database references as Collections a2a8bec
- Added examples for dynamic database creation 024bacc
- Support for DBC Attributes from Cluster, Frame, ECU and Signal objects. 075ec5b
- Support for DBC Signal Value Table d46b4fd 755274d
- Support for exporting Cluster objects to a database file 5218cec
- Support for descendant find for database objects 675f03e
Bug Fixes
- Corrected Signal parenting e5842b1
- Fixed mux_subframes property to return Frame subframes a5eb586
- Fixed a bug in
nx_read_state
that affected Session properties 34345e9 - Fixed an ASCII decoding bug in the following properties d608b33
- DatabaseObject.comment
- Frames.set_session_j1939_addr_filter
- Interface.src_term_start_trigger
- Fixed some examples for Python27 and improved them for Python34 f93982c
0.2.1: Update support documentation
0.2.0: Add LIN protocol support.
Bug Fixes
- Improve thread safety (e16827d7, closes #146)
- API:
- Include special frames in wildcard import (92c1c777)
- signals and frames semantics (7c01b4b1, closes #173)
- Convert payload in way that works with all Py2.7 versions (892ff834)
- In frame repr, highlight core info (7399c112, closes #170)
- Switch LIN identifier repr to hex (6765f690)
- Improve consistency with future signal reads (326f3bb8)
- Improve terminology (4b8fa3f4)
- ctypes: Properly parse/form CanBusError (d3380364)
- docs:
- Record correct frames type (50a69999)
- examples:
- tests:
Features
- API:
- Adding partial database API support (eb7f9603)
- Implement LinFrame and test (0b5aec8e)
- Add lin scheduling (d1f7cf96)
- Support session.lin_comm (bd8f46a4)
- Support LIN interface properties (87076317)
- Signal/Frame conversion mode (d1a0ac7d)
- CanBusError class (68b7f502)
- StartTriggerFrame class (ae6b7640)
- LogTriggerFrame class (3a29433a)
- DelayFrame class (58f15614)
- LinBusErrorFrame support (483c42aa)
- Default frame parameters (ef617563)
- examples: LIN Frame Stream IO (cd67ed08)
- tests:
Minor Breaking Changes
We do not expect these breaking changes to impact any clients
- Modify or remove unsupported or broken code
- Renamed function parameters in functions that callers are unlikely to use named arguments
Changes:
0.1.0
Release 0.1.0.dev6
Features
- Provide can ID parser for
out_strm_list_by_id
(7db06cb2, closes #115, breaks #) - Simplify read/write calls (c5e1789a, breaks #)
Bug Fixes
- Comparison operator behavior (a1ba32bd)
- API: Frame ID validation to support 11 bit (not 10) (9b187a0a)
- Session:
check_fault
is a function (38e88a77) - docs: Display notes by fixing formatting (a3e169a9)
- tests: Test what I meant and not what I said (85665917)
Breaking Changes
Release 0.1.0.dev5
Breaking changes
- Remove unused property (639539ae, closes #123)
- Changed parameter names for session frame setters (aa169b49e1bb63856c80a2cb130eb80941d2de39)
Features
- Add session.can_comm (8dd86249)
- Report general session state (7b8e21af)
- Allow
set_j1939_addr_filter
to accept an int (aa169b49e1bb63856c80a2cb130eb80941d2de39) - Simplify reseting
set_j1939_addr_filter
(aa169b49e1bb63856c80a2cb130eb80941d2de39)
Bug Fixes
- Remove unused property (639539ae, closes #123)
- Fix parameter names for session frame setters (aa169b49e1bb63856c80a2cb130eb80941d2de39)
0.1.0.dev4
Primarily increases Python2 compatibility.
Breaking Changes
- Correct spelling of Err.PORT_LEDS_BUSY (66e741f5, closes #104
- Correct spacing on CanIoMode values (0c194a66
- Scope of Interface.out_strm_list_by_id (c48a4dcf, closes #114
- Fix spacing on Frames.can_io_mode (7c0bf9f1, closes #56
- Fix casing on CanIoMode (ff276cd7, closes #44
- Remove deprecated baud rate property (0af3a5f4)
- Moving properties to relevant classes (576fa215)
Features
Bug Fixes
- Py2 string compat issues (08e40255, closes #116)
- Correct spelling of Err.PORT_LEDS_BUSY (66e741f5, closes #104
- Correct spacing on CanIoMode values (0c194a66
- Scope of Interface.out_strm_list_by_id (c48a4dcf, closes #114
- Fix spacing on Frames.can_io_mode (7c0bf9f1, closes #56
- Fix casing on CanIoMode (ff276cd7, closes #44