pyxcp 0.23.7__tar.gz → 0.23.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pyxcp might be problematic. Click here for more details.

Files changed (123) hide show
  1. {pyxcp-0.23.7 → pyxcp-0.23.9}/CMakeLists.txt +1 -1
  2. {pyxcp-0.23.7 → pyxcp-0.23.9}/PKG-INFO +2 -2
  3. {pyxcp-0.23.7 → pyxcp-0.23.9}/docs/README.rst +1 -1
  4. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyproject.toml +1 -1
  5. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/__init__.py +1 -1
  6. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/run_daq.py +5 -3
  7. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/master/master.py +4 -0
  8. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/unfolder.hpp +18 -42
  9. {pyxcp-0.23.7 → pyxcp-0.23.9}/LICENSE +0 -0
  10. {pyxcp-0.23.7 → pyxcp-0.23.9}/build_ext.py +0 -0
  11. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/EtasCANMonitoring.a2l +0 -0
  12. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/EtasCANMonitoring.aml +0 -0
  13. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/XCP_Common.aml +0 -0
  14. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/XCPonCAN.aml +0 -0
  15. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/XCPonEth.aml +0 -0
  16. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/XCPonFlx.aml +0 -0
  17. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/XCPonSxI.aml +0 -0
  18. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/XCPonUSB.aml +0 -0
  19. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/ifdata_CAN.a2l +0 -0
  20. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/ifdata_Eth.a2l +0 -0
  21. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/ifdata_Flx.a2l +0 -0
  22. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/ifdata_SxI.a2l +0 -0
  23. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/aml/ifdata_USB.a2l +0 -0
  24. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/asam/__init__.py +0 -0
  25. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/asam/types.py +0 -0
  26. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/asamkeydll.c +0 -0
  27. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/asamkeydll.sh +0 -0
  28. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/checksum.py +0 -0
  29. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/cmdline.py +0 -0
  30. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/config/__init__.py +0 -0
  31. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/config/legacy.py +0 -0
  32. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/constants.py +0 -0
  33. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/cpp_ext/__init__.py +0 -0
  34. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/cpp_ext/bin.hpp +0 -0
  35. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/cpp_ext/blockmem.hpp +0 -0
  36. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/cpp_ext/daqlist.hpp +0 -0
  37. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/cpp_ext/event.hpp +0 -0
  38. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/cpp_ext/extension_wrapper.cpp +0 -0
  39. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/cpp_ext/helper.hpp +0 -0
  40. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/cpp_ext/mcobject.hpp +0 -0
  41. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/cpp_ext/tsqueue.hpp +0 -0
  42. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/daq_stim/__init__.py +0 -0
  43. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/daq_stim/optimize/__init__.py +0 -0
  44. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/daq_stim/optimize/binpacking.py +0 -0
  45. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/daq_stim/scheduler.cpp +0 -0
  46. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/daq_stim/scheduler.hpp +0 -0
  47. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/daq_stim/stim.cpp +0 -0
  48. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/daq_stim/stim.hpp +0 -0
  49. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/daq_stim/stim_wrapper.cpp +0 -0
  50. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/dllif.py +0 -0
  51. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/errormatrix.py +0 -0
  52. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/conf_can.toml +0 -0
  53. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/conf_can_user.toml +0 -0
  54. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/conf_can_vector.json +0 -0
  55. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/conf_can_vector.toml +0 -0
  56. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/conf_eth.toml +0 -0
  57. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/conf_nixnet.json +0 -0
  58. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/conf_socket_can.toml +0 -0
  59. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/conf_sxi.json +0 -0
  60. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/conf_sxi.toml +0 -0
  61. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/xcp_policy.py +0 -0
  62. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/xcp_read_benchmark.py +0 -0
  63. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/xcp_skel.py +0 -0
  64. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/xcp_unlock.py +0 -0
  65. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/xcp_user_supplied_driver.py +0 -0
  66. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/xcphello.py +0 -0
  67. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/examples/xcphello_recorder.py +0 -0
  68. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/master/__init__.py +0 -0
  69. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/master/errorhandler.py +0 -0
  70. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/py.typed +0 -0
  71. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/__init__.py +0 -0
  72. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/build_clang.cmd +0 -0
  73. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/build_clang.sh +0 -0
  74. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/build_gcc.cmd +0 -0
  75. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/build_gcc.sh +0 -0
  76. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/build_gcc_arm.sh +0 -0
  77. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/converter/__init__.py +0 -0
  78. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/lz4.c +0 -0
  79. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/lz4.h +0 -0
  80. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/lz4hc.c +0 -0
  81. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/lz4hc.h +0 -0
  82. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/mio.hpp +0 -0
  83. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/reader.hpp +0 -0
  84. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/reco.py +0 -0
  85. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/recorder.rst +0 -0
  86. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/rekorder.cpp +0 -0
  87. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/rekorder.hpp +0 -0
  88. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/setup.py +0 -0
  89. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/test_reko.py +0 -0
  90. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/wrap.cpp +0 -0
  91. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/recorder/writer.hpp +0 -0
  92. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/scripts/__init__.py +0 -0
  93. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/scripts/pyxcp_probe_can_drivers.py +0 -0
  94. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/scripts/xcp_examples.py +0 -0
  95. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/scripts/xcp_fetch_a2l.py +0 -0
  96. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/scripts/xcp_id_scanner.py +0 -0
  97. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/scripts/xcp_info.py +0 -0
  98. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/scripts/xcp_profile.py +0 -0
  99. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/scripts/xmraw_converter.py +0 -0
  100. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/stim/__init__.py +0 -0
  101. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/tests/test_asam_types.py +0 -0
  102. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/tests/test_binpacking.py +0 -0
  103. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/tests/test_can.py +0 -0
  104. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/tests/test_checksum.py +0 -0
  105. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/tests/test_daq.py +0 -0
  106. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/tests/test_daq_opt.py +0 -0
  107. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/tests/test_frame_padding.py +0 -0
  108. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/tests/test_master.py +0 -0
  109. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/tests/test_transport.py +0 -0
  110. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/tests/test_utils.py +0 -0
  111. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/timing.py +0 -0
  112. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/transport/__init__.py +0 -0
  113. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/transport/base.py +0 -0
  114. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/transport/base_transport.hpp +0 -0
  115. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/transport/can.py +0 -0
  116. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/transport/eth.py +0 -0
  117. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/transport/sxi.py +0 -0
  118. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/transport/transport_wrapper.cpp +0 -0
  119. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/transport/usb_transport.py +0 -0
  120. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/types.py +0 -0
  121. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/utils.py +0 -0
  122. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/vector/__init__.py +0 -0
  123. {pyxcp-0.23.7 → pyxcp-0.23.9}/pyxcp/vector/map.py +0 -0
@@ -123,4 +123,4 @@ ENDIF()
123
123
  install(TARGETS rekorder LIBRARY DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/pyxcp/recorder)
124
124
  install(TARGETS cpp_ext LIBRARY DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/pyxcp/cpp_ext)
125
125
  install(TARGETS stim LIBRARY DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/pyxcp/daq_stim)
126
- # install(TARGETS asamkeydll LIBRARY DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/pyxcp/)
126
+ install(TARGETS asamkeydll RUNTIME DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/pyxcp)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyxcp
3
- Version: 0.23.7
3
+ Version: 0.23.9
4
4
  Summary: Universal Calibration Protocol for Python
5
5
  License: LGPLv3
6
6
  Keywords: automotive,ecu,xcp,asam,autosar
@@ -39,7 +39,7 @@ Description-Content-Type: text/x-rst
39
39
  Readme
40
40
  ======
41
41
 
42
- .. image:: pyxcp_social.jpg
42
+ .. image:: pyxcp_social.svg
43
43
  :align: center
44
44
 
45
45
  Reliable Python tooling for the ASAM MCD-1 XCP protocol (measurement,
@@ -1,7 +1,7 @@
1
1
  Readme
2
2
  ======
3
3
 
4
- .. image:: pyxcp_social.jpg
4
+ .. image:: pyxcp_social.svg
5
5
  :align: center
6
6
 
7
7
  Reliable Python tooling for the ASAM MCD-1 XCP protocol (measurement,
@@ -38,7 +38,7 @@ dynamic = ["license", "readme", "authors", "requires-python", "description", "cl
38
38
  [tool.poetry]
39
39
  authors = ["Christoph Schueler <cpu.gems@googlemail.com>"]
40
40
  name = "pyxcp"
41
- version = "0.23.7"
41
+ version = "0.23.9"
42
42
  readme = "docs/README.rst"
43
43
  description = "Universal Calibration Protocol for Python"
44
44
  keywords = ["automotive", "ecu", "xcp", "asam", "autosar"]
@@ -17,4 +17,4 @@ tb_install(show_locals=True, max_frames=3) # Install custom exception handler.
17
17
 
18
18
  # if you update this manually, do not forget to update
19
19
  # .bumpversion.cfg and pyproject.toml.
20
- __version__ = "0.23.7"
20
+ __version__ = "0.23.9"
@@ -129,8 +129,9 @@ else:
129
129
  ),
130
130
  ]
131
131
 
132
- daq_parser = DaqToCsv(DAQ_LISTS) # Record to CSV file(s).
133
- # daq_parser = DaqRecorder(DAQ_LISTS, "run_daq", 2) # Record to ".xmraw" file.
132
+
133
+ # daq_parser = DaqToCsv(DAQ_LISTS) # Record to CSV file(s).
134
+ daq_parser = DaqRecorder(DAQ_LISTS, "run_daq_01092025_01", 8) # Record to ".xmraw" file.
134
135
 
135
136
  with ap.run(policy=daq_parser) as x:
136
137
  try:
@@ -149,7 +150,8 @@ with ap.run(policy=daq_parser) as x:
149
150
  print("start DAQ lists.")
150
151
  daq_parser.start() # Start DAQ lists.
151
152
 
152
- time.sleep(2.0 * 60.0 * 60.0) # Run for 15 minutes.
153
+ # time.sleep(2.0 * 60.0)
154
+ time.sleep(15 * 60.0) # Run for 15 minutes.
153
155
 
154
156
  print("Stop DAQ....")
155
157
  daq_parser.stop() # Stop DAQ lists.
@@ -223,6 +223,10 @@ class Master:
223
223
  self.AG_unpack = self.DWORD_unpack
224
224
  self.slaveProperties.bytesPerElement = 4
225
225
  # self.connected = True
226
+ status = self.getStatus()
227
+ if status.sessionStatus.daqRunning:
228
+ # TODO: resume
229
+ self.startStopSynch(0x00)
226
230
  return result
227
231
 
228
232
  @wrapped
@@ -1109,8 +1109,9 @@ class DaqRecorderPolicy : public DAQPolicyBase {
1109
1109
  }
1110
1110
 
1111
1111
  void feed(std::uint8_t frame_cat, std::uint16_t counter, std::uint64_t timestamp, const std::string& payload) override {
1112
- if (frame_cat != static_cast<std::uint8_t>(FrameCategory::DAQ)) {
1112
+ if (frame_cat != static_cast<std::uint8_t>(FrameCategory::DAQ) || (!m_initialized)) {
1113
1113
  // Only record DAQ frames for now.
1114
+ // also make sure policy is initialized.
1114
1115
  return;
1115
1116
  }
1116
1117
  m_writer->add_frame(frame_cat, counter, timestamp, static_cast<std::uint16_t>(payload.size()), payload.c_str());
@@ -1142,38 +1143,30 @@ class DaqRecorderPolicy : public DAQPolicyBase {
1142
1143
  class DaqTimeTracker {
1143
1144
  public:
1144
1145
 
1145
- DaqTimeTracker(std::uint64_t overflow_value) : m_overflow_value(overflow_value), m_overflow_counter(0ULL), m_previous_timestamp(0ULL) { m_ts_base_set=false; m_ts0_base=0ULL; m_ts1_base=0ULL; }
1146
-
1147
- auto get_previous_timestamp() const noexcept {
1148
- return m_previous_timestamp;
1149
- }
1150
-
1151
- void set_previous_timestamp(std::uint64_t timestamp) noexcept {
1152
- m_previous_timestamp = timestamp;
1153
- }
1146
+ DaqTimeTracker(std::uint64_t overflow_value) : m_overflow_value(overflow_value), m_overflow_counter(0ULL), m_previous_timestamp(0ULL) {
1147
+ m_ts_base_set=false;
1148
+ m_ts0_base=0ULL; m_ts1_base=0ULL;
1149
+ //std::cout << "\tOverflow value: " << overflow_value << "\n";
1150
+ }
1154
1151
 
1155
- void inc_overflow_counter() noexcept {
1156
- m_overflow_counter++;
1157
- }
1152
+ std::pair<std::uint64_t,std::uint64_t> normalize(std::uint64_t ts0, std::uint64_t ts1) noexcept {
1158
1153
 
1159
- auto get_overflow_counter() const noexcept {
1160
- return m_overflow_counter;
1161
- }
1154
+ if (m_previous_timestamp > ts1) {
1155
+ m_overflow_counter++;
1156
+ }
1157
+ m_previous_timestamp = ts1;
1162
1158
 
1163
- auto get_value() const noexcept {
1164
- return m_overflow_value * m_overflow_counter;
1165
- }
1166
-
1167
- public:
1168
- std::pair<std::uint64_t,std::uint64_t> normalize(std::uint64_t ts0, std::uint64_t ts1) noexcept {
1169
1159
  if (!m_ts_base_set) {
1170
1160
  m_ts0_base = ts0;
1171
1161
  m_ts1_base = ts1;
1172
1162
  m_ts_base_set = true;
1163
+ // std::cout << "\tSet ts0: " << ts0 << " ts1:" << ts1 << "\n";
1173
1164
  }
1174
- return {ts0 - m_ts0_base, ts1 - m_ts1_base};
1165
+ // std::cout << "\t\tts0: " << ts0 << " Base: " << m_ts0_base << " ts1: " << ts1 << " Base: " << m_ts1_base << "\n";
1166
+ return {ts0 - m_ts0_base, (ts1 - m_ts1_base) + (m_overflow_value * m_overflow_counter) };
1175
1167
  }
1176
1168
  private:
1169
+
1177
1170
  std::uint64_t m_overflow_value{};
1178
1171
  std::uint64_t m_overflow_counter{};
1179
1172
  std::uint64_t m_previous_timestamp{};
@@ -1211,19 +1204,11 @@ class DaqOnlinePolicy : public DAQPolicyBase {
1211
1204
  auto result = m_decoder->feed(timestamp, payload);
1212
1205
  if (result) {
1213
1206
  const auto& [daq_list, ts0, ts1, meas] = *result;
1214
-
1215
1207
  auto& overflow = m_overflows[daq_list];
1216
1208
 
1217
1209
  auto [norm_ts0, norm_ts1] = overflow.normalize(ts0, ts1);
1218
1210
 
1219
- if (overflow.get_previous_timestamp() > norm_ts1) {
1220
- overflow.inc_overflow_counter();
1221
- }
1222
-
1223
- on_daq_list(daq_list, norm_ts0, norm_ts1 + overflow.get_value(), meas);
1224
-
1225
- overflow.set_previous_timestamp(norm_ts1);
1226
-
1211
+ on_daq_list(daq_list, norm_ts0, norm_ts1, meas);
1227
1212
  }
1228
1213
  }
1229
1214
 
@@ -1296,20 +1281,11 @@ class XcpLogFileDecoder {
1296
1281
  auto result = m_decoder->feed(timestamp, str_data);
1297
1282
  if (result) {
1298
1283
  const auto& [daq_list, ts0, ts1, meas] = *result;
1299
-
1300
1284
  auto& overflow = m_overflows[daq_list];
1301
1285
 
1302
1286
  auto [norm_ts0, norm_ts1] = overflow.normalize(ts0, ts1);
1303
1287
 
1304
- if (overflow.get_previous_timestamp() > norm_ts1) {
1305
- overflow.inc_overflow_counter();
1306
- // Maybe on debug-level?
1307
- // std::cout << "Overflow detected, counter: " << overflow.get_overflow_counter() << " " << overflow.get_previous_timestamp() << " " << ts1 << std::endl;
1308
- }
1309
-
1310
- on_daq_list(daq_list, norm_ts0, norm_ts1 + overflow.get_value(), meas);
1311
-
1312
- overflow.set_previous_timestamp(norm_ts1);
1288
+ on_daq_list(daq_list, norm_ts0, norm_ts1, meas);
1313
1289
  }
1314
1290
  }
1315
1291
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes