Skip to content

Commit

Permalink
Update mdf_v4.py to process signal_data with data_type v4c.DATA_TYPE_…
Browse files Browse the repository at this point in the history
…SIGNED_INTEL and v4c.DATA_TYPE_SIGNED_MOTOROLA

After upgrading to INCA V7.2 I get .mf4-files that contain data of type signed intel. Adding those lines fixes the problem and I can import the measurement.
  • Loading branch information
heavy-matill authored Nov 23, 2023
1 parent 655bbe9 commit 007ea69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/asammdf/blocks/mdf_v4.py
Original file line number Diff line number Diff line change
Expand Up @@ -7509,6 +7509,8 @@ def _get_scalar(
v4c.DATA_TYPE_BYTEARRAY,
v4c.DATA_TYPE_UNSIGNED_INTEL,
v4c.DATA_TYPE_UNSIGNED_MOTOROLA,
v4c.DATA_TYPE_SIGNED_INTEL,
v4c.DATA_TYPE_SIGNED_MOTOROLA,
v4c.DATA_TYPE_MIME_SAMPLE,
v4c.DATA_TYPE_MIME_STREAM,
):
Expand All @@ -7533,6 +7535,8 @@ def _get_scalar(
v4c.DATA_TYPE_BYTEARRAY,
v4c.DATA_TYPE_UNSIGNED_INTEL,
v4c.DATA_TYPE_UNSIGNED_MOTOROLA,
v4c.DATA_TYPE_SIGNED_INTEL,
v4c.DATA_TYPE_SIGNED_MOTOROLA,
v4c.DATA_TYPE_MIME_SAMPLE,
v4c.DATA_TYPE_MIME_STREAM,
):
Expand Down

0 comments on commit 007ea69

Please sign in to comment.