Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for rest of the database API (non-RT) #211

Open
10 of 14 tasks
jashnani opened this issue Aug 30, 2017 · 8 comments
Open
10 of 14 tasks

Support for rest of the database API (non-RT) #211

jashnani opened this issue Aug 30, 2017 · 8 comments
Milestone

Comments

@jashnani
Copy link

jashnani commented Aug 30, 2017

Implement the Database file API

Parts to include:

  • Implementation
  • Type annotations
  • Type conversions (like enums)
  • Documentation
  • Examples
  • Tests

For RT database support, see #202.

@jashnani jashnani added this to the 0.4 milestone Aug 30, 2017
@epage epage removed the tracking label Aug 30, 2017
@jashnani jashnani changed the title Rest of the database API (non-RT) Support for rest of the database API (non-RT) Aug 30, 2017
@epage
Copy link
Contributor

epage commented Aug 30, 2017

From @jashnani's research:

In C API, it looks like ‘nxdbCloseDatabase’ uses ‘nxDatabaseRef_t’ type. This type is used by other database objects as well (i.e. Cluster, Frame, PDU, etc.). This makes it ambiguous whether you need to call nxdbCloseDatabase on all objects or just the Database object.

In checking further, the object references are owned by the Database, should not be closed explicitly, and will be closed when the Database reference count drops to 0.

@epage
Copy link
Contributor

epage commented Aug 30, 2017

From @jashnani's research:

nxdbOpenDatabase can take either an alias or a filepath. We've confirmed that you can open a database file that has not had nxdbAddAlias or nxdbDeploy called.

@epage
Copy link
Contributor

epage commented Aug 30, 2017

A basic outline of database objects and their properties was added in #52.

This includes

  • nxdbCloseDatabase
  • nxdbSaveDatabase
  • nxdbMerge

This lacks

  • Tests
  • Documentation
  • Type annotations
  • Type conversions (returning enums instead of ints, objects instead of ints)

@epage
Copy link
Contributor

epage commented Aug 30, 2017

#210

  • Rename save_database to save because the context makes that unambiguous
  • Default save's filepath to a blank string for overwriting the current file
  • Support nxdbCreateObject via parent.children.add("name")
  • Support nxdbDeleteObject via del parent.children["name"]
  • Support nxdbFindObject via parent.children["name"]
  • Changed ref children from a generator to parent.children.__iter__

Things that are still missing

  • Deleting objects by ref. This doesn't map as directly in python and the
    hope is no one needs it.
  • All other ref properties returning objects. A lot of these have circular imports which
    will need to be addressed.
  • Exposing descendant find (like myFrameA.mySignal). Via getitem, you can get a direct
    descendant by name but not indirect descendants. Each parent object
    will need an explicit find added to it. This will also run into
    problems with circular imports.

@epage epage mentioned this issue Aug 30, 2017
44 tasks
@epage
Copy link
Contributor

epage commented Aug 31, 2017

  • Question:
    • nxdbCreateObject lists what objects can be created under what parents (see nxdbCreateObject documentation)
      • Cluster:Signals makes it sound like you can create signals directly under clusters but that isn’t documented in nxdbCreateObject (see Signals documentation)
      • Frame MUX Signals or SubFrame Signals make it sound like you can create signals directly under Frame or SubFrame but that isn’t documented in nxdbCreateObject
      • Which cases work and don’t work beyond what is documented in nxdbCreateObject?
  • Answer:
    • Frame.signals and Cluster.signals are aggregates and not owning properties
    • SubFrame.dyn_sig_refs and Frame.mux_static_sig_refs is the parent of signals.

@epage
Copy link
Contributor

epage commented Aug 31, 2017

#212 made some teaks to #210

@lilesj
Copy link
Contributor

lilesj commented Jan 2, 2018

I suggest starting out with these examples for the database API:

  • Dynamic Database Creation: Use the in-memory database to create a new CAN cluster and set cluster level properties such as baud rate. Then pro grammatically add frames to the cluster and then add signals to the frames. Finally, save/export the in-memory database to a database file. (Effectively combining the CAN Dynamic Database Creation and Editing a Database with IO Controls shipping examples)

  • Managing Local Databases: An example that demonstrates how to add and remove database aliases from the local system.

d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 12, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 12, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 13, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 13, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 16, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 16, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 16, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 16, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 16, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 16, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 16, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 16, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 16, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 16, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 18, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 18, 2018
Add all DB annotations.

Address some of the remaining items in #ni#211.

Fixes ni#209

BREAKING CHANGE:

list all the renames and breakages
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 19, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Overloaded Database constructor's path param to allow
construction from a ref (for the Cluster.database property).

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* constants.FrmCanTiming -> constants.CanFrameTiming
* constants.SigByteOrdr -> constants.SigByteOrder
* constants.FrmLinChecksum -> constants.LinFrameChecksum
* Cluster.database_ref -> Cluster.database
* Cluster.pd_us_reqd -> Cluster.pdus_required
* Cluster.sig_refs -> Cluster.signals
* Ecu.clst_ref -> Ecu.cluster
* Ecu.rx_frm_refs -> Ecu.frames_received
* Ecu.tx_frm_refs -> Ecu.frames_transmitted
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.signals
* Frame.can_ext_id -> Frame.can_extended_id
* Frame.can_tx_time -> Frame.can_transmit_time
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_signal
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.cluster
* LinSchedEntry.collision_res_sched -> LinSchedEntry.collision_resolving_schedule
* LinSchedEntry.nc_ff_data_bytes -> LinSchedEntry.node_config_free_format_data_bytes
* LinSchedEntry.sched -> LinSchedEntry.schedule
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frames
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_signal
* Pdu.mux_static_sig_refs -> Pdu.mux_static_signals
* Signal.byte_ordr -> Signal.byte_order
* Signal.default -> Signal.default_value
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.frame_scale_fac -> Signal.scale_factor
* Signal.frame_off -> Signal.scale_offset
* Signal.mux_subfrm_ref -> Signal.mux_subframe
* SubFrame.dyn_signals -> SubFrame.dynamic_signals
* SubFrame.frm_ref -> SubFrame.frame
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* Frame.application_protocol is now constants.AppProtocol
* Frame.can_timing_type type is now constants.CanFrameTiming
* Frame.lin_checksum type is now constants.LinFrameChecksum
* All property renames that dropped "ref" now get/set the db object

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 19, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Overloaded Database constructor's path param to allow
construction from a ref (for the Cluster.database property).

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* constants.FrmCanTiming -> constants.CanFrameTiming
* constants.SigByteOrdr -> constants.SigByteOrder
* constants.FrmLinChecksum -> constants.LinFrameChecksum
* Cluster.database_ref -> Cluster.database
* Cluster.pd_us_reqd -> Cluster.pdus_required
* Cluster.sig_refs -> Cluster.signals
* Ecu.clst_ref -> Ecu.cluster
* Ecu.rx_frm_refs -> Ecu.frames_received
* Ecu.tx_frm_refs -> Ecu.frames_transmitted
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.signals
* Frame.can_ext_id -> Frame.can_extended_id
* Frame.can_tx_time -> Frame.can_transmit_time
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_signal
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.cluster
* LinSchedEntry.collision_res_sched -> LinSchedEntry.collision_resolving_schedule
* LinSchedEntry.nc_ff_data_bytes -> LinSchedEntry.node_config_free_format_data_bytes
* LinSchedEntry.sched -> LinSchedEntry.schedule
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frames
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_signal
* Pdu.mux_static_sig_refs -> Pdu.mux_static_signals
* Signal.byte_ordr -> Signal.byte_order
* Signal.default -> Signal.default_value
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.frame_scale_fac -> Signal.scale_factor
* Signal.frame_off -> Signal.scale_offset
* Signal.mux_subfrm_ref -> Signal.mux_subframe
* SubFrame.dyn_signals -> SubFrame.dynamic_signals
* SubFrame.frm_ref -> SubFrame.frame
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* Frame.application_protocol is now constants.AppProtocol
* Frame.can_timing_type type is now constants.CanFrameTiming
* Frame.lin_checksum type is now constants.LinFrameChecksum
* All property renames that dropped "ref" now get/set the db object

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
@d-bohls
Copy link
Contributor

d-bohls commented Mar 21, 2018

#237 adds annotations and docs.

I'm creating separate issues for the remaining items so we can have better visibility into what's left.

#238
#239
#240
#241

d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 26, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Overloaded Database constructor's path param to allow
construction from a ref (for the Cluster.database property).

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* constants.FrmCanTiming -> constants.CanFrameTiming
* constants.SigByteOrdr -> constants.SigByteOrder
* constants.FrmLinChecksum -> constants.LinFrameChecksum
* Cluster.database_ref -> Cluster.database
* Cluster.pd_us_reqd -> Cluster.pdus_required
* Cluster.sig_refs -> Cluster.signals
* Ecu.clst_ref -> Ecu.cluster
* Ecu.rx_frm_refs -> Ecu.frames_received
* Ecu.tx_frm_refs -> Ecu.frames_transmitted
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.signals
* Frame.can_ext_id -> Frame.can_extended_id
* Frame.can_tx_time -> Frame.can_transmit_time
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_signal
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.cluster
* LinSchedEntry.collision_res_sched -> LinSchedEntry.collision_resolving_schedule
* LinSchedEntry.nc_ff_data_bytes -> LinSchedEntry.node_config_free_format_data_bytes
* LinSchedEntry.sched -> LinSchedEntry.schedule
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frames
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_signal
* Pdu.mux_static_sig_refs -> Pdu.mux_static_signals
* Signal.byte_ordr -> Signal.byte_order
* Signal.default -> Signal.default_value
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.frame_scale_fac -> Signal.scale_factor
* Signal.frame_off -> Signal.scale_offset
* Signal.mux_subfrm_ref -> Signal.mux_subframe
* SubFrame.dyn_signals -> SubFrame.dynamic_signals
* SubFrame.frm_ref -> SubFrame.frame
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* Frame.application_protocol is now constants.AppProtocol
* Frame.can_timing_type type is now constants.CanFrameTiming
* Frame.lin_checksum type is now constants.LinFrameChecksum
* All property renames that dropped "ref" now get/set the db object

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 28, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* Cluster.database_ref -> Cluster.database
* Cluster.pd_us_reqd -> Cluster.pdus_reqd
* Cluster.sig_refs -> Cluster.sigs
* Ecu.clst_ref -> Ecu.clst
* Ecu.rx_frm_refs -> Ecu.rx_frms
* Ecu.tx_frm_refs -> Ecu.tx_frms
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.sigs
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig_ref
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.clst
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frms
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig
* Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.mux_subfrm_ref -> Signal.mux_subfrm
* SubFrame.frm_ref -> SubFrame.frm
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* Frame.application_protocol is now constants.AppProtocol
* Frame.can_timing_type type is now constants.FrameCanTiming
* Frame.lin_checksum type is now constants.FrameLinChecksum
* All property renames that dropped "ref" now get/set the db object
  except for Cluster.database (opened issue ni#244)

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 28, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* Cluster.database_ref -> Cluster.database
* Cluster.pd_us_reqd -> Cluster.pdus_reqd
* Cluster.sig_refs -> Cluster.sigs
* Ecu.clst_ref -> Ecu.clst
* Ecu.rx_frm_refs -> Ecu.rx_frms
* Ecu.tx_frm_refs -> Ecu.tx_frms
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.sigs
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig_ref
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.clst
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frms
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig
* Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.mux_subfrm_ref -> Signal.mux_subfrm
* SubFrame.frm_ref -> SubFrame.frm
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* Frame.application_protocol is now constants.AppProtocol
* Frame.can_timing_type type is now constants.FrameCanTiming
* Frame.lin_checksum type is now constants.FrameLinChecksum
* All property renames that dropped "ref" now get/set the db object
  except for Cluster.database (opened issue ni#244)

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 28, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* Cluster.database_ref -> Cluster.database
* Cluster.pd_us_reqd -> Cluster.pdus_reqd
* Cluster.sig_refs -> Cluster.sigs
* Ecu.clst_ref -> Ecu.clst
* Ecu.rx_frm_refs -> Ecu.rx_frms
* Ecu.tx_frm_refs -> Ecu.tx_frms
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.sigs
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.clst
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frms
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig
* Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.mux_subfrm_ref -> Signal.mux_subfrm
* SubFrame.frm_ref -> SubFrame.frm
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* Frame.application_protocol is now constants.AppProtocol
* Frame.can_timing_type type is now constants.FrameCanTiming
* Frame.lin_checksum type is now constants.FrameLinChecksum
* All property renames that dropped "ref" now get/set the db object
  except for Cluster.database (opened issue ni#244)

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 28, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* Cluster.database_ref -> Cluster.database
* Cluster.pd_us_reqd -> Cluster.pdus_reqd
* Cluster.sig_refs -> Cluster.sigs
* Ecu.clst_ref -> Ecu.clst
* Ecu.rx_frm_refs -> Ecu.rx_frms
* Ecu.tx_frm_refs -> Ecu.tx_frms
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.sigs
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.clst
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frms
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig
* Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.mux_subfrm_ref -> Signal.mux_subfrm
* SubFrame.frm_ref -> SubFrame.frm
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* Frame.application_protocol is now constants.AppProtocol
* Frame.can_timing_type type is now constants.FrameCanTiming
* Frame.lin_checksum type is now constants.FrameLinChecksum
* All property renames that dropped "ref" now get/set the db object
  except for Cluster.database (opened issue ni#244)

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 28, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* Cluster.database_ref -> Cluster.database
* Cluster.pd_us_reqd -> Cluster.pdus_reqd
* Cluster.sig_refs -> Cluster.sigs
* Ecu.clst_ref -> Ecu.clst
* Ecu.rx_frm_refs -> Ecu.rx_frms
* Ecu.tx_frm_refs -> Ecu.tx_frms
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.sigs
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.clst
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frms
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig
* Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.mux_subfrm_ref -> Signal.mux_subfrm
* SubFrame.frm_ref -> SubFrame.frm
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* 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 ni#244)

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Mar 28, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* Cluster.pd_us_reqd -> Cluster.pdus_reqd
* Cluster.sig_refs -> Cluster.sigs
* Ecu.clst_ref -> Ecu.clst
* Ecu.rx_frm_refs -> Ecu.rx_frms
* Ecu.tx_frm_refs -> Ecu.tx_frms
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.sigs
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.clst
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frms
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig
* Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.mux_subfrm_ref -> Signal.mux_subfrm
* SubFrame.frm_ref -> SubFrame.frm
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* 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 ni#244)

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Apr 11, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* Cluster.pd_us_reqd -> Cluster.pdus_reqd
* Cluster.sig_refs -> Cluster.sigs
* Ecu.clst_ref -> Ecu.clst
* Ecu.rx_frm_refs -> Ecu.rx_frms
* Ecu.tx_frm_refs -> Ecu.tx_frms
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.sigs
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.clst
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frms
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig
* Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.mux_subfrm_ref -> Signal.mux_subfrm
* SubFrame.frm_ref -> SubFrame.frm
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* 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 ni#244)

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Apr 13, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* Cluster.pd_us_reqd -> Cluster.pdus_reqd
* Cluster.sig_refs -> Cluster.sigs
* Ecu.clst_ref -> Ecu.clst
* Ecu.rx_frm_refs -> Ecu.rx_frms
* Ecu.tx_frm_refs -> Ecu.tx_frms
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.sigs
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.clst
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frms
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig
* Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.mux_subfrm_ref -> Signal.mux_subfrm
* SubFrame.frm_ref -> SubFrame.frm
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* 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 ni#244)

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Apr 13, 2018
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* Cluster.pd_us_reqd -> Cluster.pdus_reqd
* Cluster.sig_refs -> Cluster.sigs
* Ecu.clst_ref -> Ecu.clst
* Ecu.rx_frm_refs -> Ecu.rx_frms
* Ecu.tx_frm_refs -> Ecu.tx_frms
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.sigs
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.clst
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frms
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig
* Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.mux_subfrm_ref -> Signal.mux_subfrm
* SubFrame.frm_ref -> SubFrame.frm
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* 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 ni#244)

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
@d-bohls d-bohls removed their assignment Oct 17, 2018
d-bohls added a commit to d-bohls/nixnet-python that referenced this issue Jun 21, 2019
Add all DB annotations and docstrings.

Many imports moved into methods to avoid circular imports.

Fixes ni#48
Fixes ni#209
Fixes some of ni#211 (annotations and docs)

BREAKING CHANGE:

Renamed:
* Cluster.pd_us_reqd -> Cluster.pdus_reqd
* Cluster.sig_refs -> Cluster.sigs
* Ecu.clst_ref -> Ecu.clst
* Ecu.rx_frm_refs -> Ecu.rx_frms
* Ecu.tx_frm_refs -> Ecu.tx_frms
* Ecu.linp_2min -> Ecu.lin_p2_min
* Ecu.lins_tmin -> Ecu.lin_st_min
* Frame.cluster_ref -> Frame.cluster
* Frame.sig_refs -> Frame.sigs
* Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_sig
* Frame.pdu_refs -> Frame.pdus
* LinSched.clst_ref -> LinSched.clst
* Pdu.cluster_ref -> Pdu.cluster
* Pdu.frm_refs -> Pdu.frms
* Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_sig
* Pdu.mux_static_sig_refs -> Pdu.mux_static_sigs
* Signal.frame_ref -> Signal.frame
* Signal.pdu_ref -> Signal.pdu
* Signal.mux_subfrm_ref -> Signal.mux_subfrm
* SubFrame.frm_ref -> SubFrame.frm
* SubFrame.pdu_ref -> SubFrame.pdu

Changed types:
* 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 ni#244)

Removed:
* IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants