pyxcp 0.23.8__cp310-cp310-macosx_11_0_arm64.whl → 0.23.9__cp310-cp310-macosx_11_0_arm64.whl
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.
- pyxcp/__init__.py +1 -1
- pyxcp/examples/run_daq.py +5 -4
- pyxcp/master/master.py +4 -0
- pyxcp/recorder/rekorder.cpython-310-darwin.so +0 -0
- pyxcp/recorder/unfolder.hpp +2 -1
- {pyxcp-0.23.8.dist-info → pyxcp-0.23.9.dist-info}/METADATA +1 -1
- {pyxcp-0.23.8.dist-info → pyxcp-0.23.9.dist-info}/RECORD +10 -10
- {pyxcp-0.23.8.dist-info → pyxcp-0.23.9.dist-info}/LICENSE +0 -0
- {pyxcp-0.23.8.dist-info → pyxcp-0.23.9.dist-info}/WHEEL +0 -0
- {pyxcp-0.23.8.dist-info → pyxcp-0.23.9.dist-info}/entry_points.txt +0 -0
pyxcp/__init__.py
CHANGED
pyxcp/examples/run_daq.py
CHANGED
|
@@ -129,8 +129,9 @@ else:
|
|
|
129
129
|
),
|
|
130
130
|
]
|
|
131
131
|
|
|
132
|
-
|
|
133
|
-
# daq_parser =
|
|
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,8 +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)
|
|
153
|
-
|
|
153
|
+
# time.sleep(2.0 * 60.0)
|
|
154
|
+
time.sleep(15 * 60.0) # Run for 15 minutes.
|
|
154
155
|
|
|
155
156
|
print("Stop DAQ....")
|
|
156
157
|
daq_parser.stop() # Stop DAQ lists.
|
pyxcp/master/master.py
CHANGED
|
@@ -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
|
|
Binary file
|
pyxcp/recorder/unfolder.hpp
CHANGED
|
@@ -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());
|
|
@@ -4,7 +4,7 @@ pyxcp/asamkeydll.sh,sha256=iema12sub6qNE0xAuzwGtx0FmkdaaOKoXalhrtWVaa8,57
|
|
|
4
4
|
pyxcp/asamkeydll.c,sha256=l5RHYcEPY_Q07G-W5IjCq0xci8YfUR-3uYt84OOkOJI,2836
|
|
5
5
|
pyxcp/constants.py,sha256=Yemk_Gi_m78EEU0v-sdGCAodb9dv_vqP969IU3izA2M,1113
|
|
6
6
|
pyxcp/cmdline.py,sha256=OVSO-X6JV1Si2tKZ1ar2gYbiqCTlTaj5jY-z6N2Vk3Q,2453
|
|
7
|
-
pyxcp/__init__.py,sha256=
|
|
7
|
+
pyxcp/__init__.py,sha256=3f5FNt7GeyC6oJ5XZRxitwjhfpMUwA_bKjk6ZF_qvQQ,527
|
|
8
8
|
pyxcp/types.py,sha256=XJxJUh9bK5Urfia8IHVLJ-NFgQACYBd_n73L-AaeZts,25158
|
|
9
9
|
pyxcp/timing.py,sha256=hzeQZ3P7ij_bfskoVMi10Iv5S4i_6TQYfnB8PXTX6c4,1645
|
|
10
10
|
pyxcp/utils.py,sha256=cHb5RUNim90U1U_a4axRmfa2n_xhFdjqHoRBEODoscs,3404
|
|
@@ -56,7 +56,7 @@ pyxcp/aml/XCPonUSB.aml,sha256=rPGduH-PE8-tBeELSm3vfkbf62uhlVP6gvJL0OvMclc,4847
|
|
|
56
56
|
pyxcp/aml/ifdata_SxI.a2l,sha256=8rAB6HTTAuNlFSrkFpR7fUA702yN4rTTNkw-xspZNV0,303
|
|
57
57
|
pyxcp/aml/XCPonFlx.aml,sha256=z58FMu6ZF4hVun8WBCuxvDrq6FZ_gj3tZM15G7E8Uvw,4647
|
|
58
58
|
pyxcp/master/__init__.py,sha256=o3XB9GDwLiqh-KRFC9YTOd0EvxJXDpyrcVxebiwT934,309
|
|
59
|
-
pyxcp/master/master.py,sha256=
|
|
59
|
+
pyxcp/master/master.py,sha256=4GTtu_SrALZev52sdEw5AYyDaJ3SWbM_XBG_FpS4NeA,77123
|
|
60
60
|
pyxcp/master/errorhandler.py,sha256=7EftfxWYqRyXurJEZS8PAyXVHs_e4qV8uWsUOMuE2Ug,19402
|
|
61
61
|
pyxcp/examples/xcp_read_benchmark.py,sha256=Hl0hrjV3FE-ivswvYOh0MsKiHnk03z7w8lQDYnvfeM8,918
|
|
62
62
|
pyxcp/examples/conf_eth.toml,sha256=b6bKN-K07gMQHNj7yiyB-HKrkVtZREgPXS4ByQueBs4,190
|
|
@@ -69,7 +69,7 @@ pyxcp/examples/xcp_user_supplied_driver.py,sha256=Wyep2KhtcFC2GzZuJPj5ikSqWIWYsf
|
|
|
69
69
|
pyxcp/examples/xcp_skel.py,sha256=F2g2C79jiYZl0cpRHfzWusfn1ZvodOS_r1Az6aknZL4,1110
|
|
70
70
|
pyxcp/examples/xcp_unlock.py,sha256=vl2Zv7Z6EuBxI2ZxbGQK6-0tZBVqd72FZllsvIfuJ5w,652
|
|
71
71
|
pyxcp/examples/xcphello.py,sha256=JK9U_QkFP0AwKlZK9lFB66GAqUDFRoXL3XMYO5EdRQQ,2550
|
|
72
|
-
pyxcp/examples/run_daq.py,sha256=
|
|
72
|
+
pyxcp/examples/run_daq.py,sha256=fLZSVtM__QkvTzXiGP4Tff79xwVNPCmVoLv89ff9c9I,5502
|
|
73
73
|
pyxcp/examples/conf_socket_can.toml,sha256=JB9zHHaya2mDXf0zPY7zEKiBDX2chzBBRxt7h3LxxDk,257
|
|
74
74
|
pyxcp/examples/conf_sxi.toml,sha256=r81OD0mCLk_h7vrN5MBJk0HFbiWi3bQZtFgFVrW6qcM,118
|
|
75
75
|
pyxcp/examples/conf_can.toml,sha256=oGkZYgmcpPsJ6YKGELm6DqF-hNvokJHCq99LAqxCyso,351
|
|
@@ -88,7 +88,7 @@ pyxcp/recorder/recorder.rst,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
88
88
|
pyxcp/recorder/mio.hpp,sha256=emP4qMXTxOe1wRSkB_U0hgOVz4aMUgG5dqcCvNNkAjs,61632
|
|
89
89
|
pyxcp/recorder/build_gcc.cmd,sha256=A1xt8AS7VZxjJq21VzX8cOT7wl9ap_AIXBWbcIEddCw,237
|
|
90
90
|
pyxcp/recorder/writer.hpp,sha256=rNjtRTtJes5z-BzKR2K56P_Kvc9MEVQgycu8J0wKf1g,11284
|
|
91
|
-
pyxcp/recorder/rekorder.cpython-310-darwin.so,sha256=
|
|
91
|
+
pyxcp/recorder/rekorder.cpython-310-darwin.so,sha256=987QuXdoVM-fEfqm8PNQZr25nDhhwwSIwfk36fKyVCk,529792
|
|
92
92
|
pyxcp/recorder/lz4hc.c,sha256=GhoLtpQF6ViHkhQ_TaLw9UCzSB_MO-fdflgjR_xFFfM,86829
|
|
93
93
|
pyxcp/recorder/lz4.h,sha256=BkRLAtxukE15Z2yO0Pjrq-n6hw5W6jkGFR5f14MzpEU,45604
|
|
94
94
|
pyxcp/recorder/rekorder.cpp,sha256=LtN3Ud_pigNZ70gJ5-tyFJZN-3PMDVwqbbH694--TxQ,1841
|
|
@@ -104,7 +104,7 @@ pyxcp/recorder/rekorder.hpp,sha256=sWvRch9bVt6mmgrFHp5mwWhap7HoFG4geeb7UqEIzio,7
|
|
|
104
104
|
pyxcp/recorder/lz4hc.h,sha256=U_uN3Q2wIi3_dbEceJ16xHJZGotUiBTcnL6O5ARPi8M,20179
|
|
105
105
|
pyxcp/recorder/lz4.c,sha256=k5b33lJ7yENd6cdWn7eZjlZUWoS088LYCMAjXAF3RTk,118145
|
|
106
106
|
pyxcp/recorder/build_gcc.sh,sha256=uvMhL4faEJmhG_8rzSOxEBRRqrACC0kmZgaERN8GkUs,209
|
|
107
|
-
pyxcp/recorder/unfolder.hpp,sha256=
|
|
107
|
+
pyxcp/recorder/unfolder.hpp,sha256=DfjAkAlXZhhuE3FY4jQbK0GBlaPzBZqCEm3Auc0-YW0,48067
|
|
108
108
|
pyxcp/recorder/converter/__init__.py,sha256=mqzH3jxGpFrtS2dHyfDLCYKeJycav3_-6z8svlI07eU,14452
|
|
109
109
|
pyxcp/stim/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
110
110
|
pyxcp/vector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -119,8 +119,8 @@ pyxcp/cpp_ext/helper.hpp,sha256=ONAsVupIqqmNDp8bgGWS0TfSYeCFkk3kwwZbbqsh0HQ,7813
|
|
|
119
119
|
pyxcp/cpp_ext/bin.hpp,sha256=0CatarJ7jFewlg9EIxsDPxC4wnORHutx-1PLHpf9iqw,2457
|
|
120
120
|
pyxcp/cpp_ext/daqlist.hpp,sha256=Q1Gejo8i1rP2PzyUh4UHJ2z-kG0WNnkbBj7N8DAdzaM,7071
|
|
121
121
|
pyxcp/cpp_ext/cpp_ext.cpython-310-darwin.so,sha256=qPV9eNVkRL8z10bnT72IPS_ycDt92S_E2P2fUrctwOQ,321344
|
|
122
|
-
pyxcp-0.23.
|
|
123
|
-
pyxcp-0.23.
|
|
124
|
-
pyxcp-0.23.
|
|
125
|
-
pyxcp-0.23.
|
|
126
|
-
pyxcp-0.23.
|
|
122
|
+
pyxcp-0.23.9.dist-info/RECORD,,
|
|
123
|
+
pyxcp-0.23.9.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
124
|
+
pyxcp-0.23.9.dist-info/WHEEL,sha256=LYpYYCEq2c6ymHhOSnJTe4ux3ULYSEUrqCKSUjEORwM,134
|
|
125
|
+
pyxcp-0.23.9.dist-info/entry_points.txt,sha256=LkHsEwubm30s4oiyCy0cKj6k97ALvQ6KjAVdyEcqu7g,358
|
|
126
|
+
pyxcp-0.23.9.dist-info/METADATA,sha256=KKZRladjwl9oGnbUyLaMsnLGa65Px9aQe_2uHaentWo,12718
|
|
File without changes
|
|
File without changes
|
|
File without changes
|