Skip to content

Commit

Permalink
Merge ae89c0c into 730305b
Browse files Browse the repository at this point in the history
  • Loading branch information
d-bohls committed Mar 10, 2018
2 parents 730305b + ae89c0c commit be3f56c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions nixnet/database/_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,21 @@ def __hash__(self):
def __repr__(self):
return '{}(handle={})'.format(type(self).__name__, self._handle)

def export(self, db_filepath):
# type: (typing.Text) -> None
"""Exports this cluster to a CANdb++ or LIN database file format.
A CAN cluster is exported as a CANdb++ database file (.dbc).
A LIN cluster is exported as a LIN database file (.ldf).
If the target file exists, it is overwritten.
Exporting a cluster is not supported under Real-Time (RT).
Args:
db_filepath(str): Contains the pathname to the database file.
"""
_funcs.nxdb_save_database(self._handle, db_filepath)

def merge(
self,
source_obj,
Expand Down

0 comments on commit be3f56c

Please sign in to comment.