pyxcp 0.22.24__cp39-cp39-win_amd64.whl → 0.22.25__cp39-cp39-win_amd64.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/cpp_ext/cpp_ext.cp38-win_amd64.pyd +0 -0
- pyxcp/cpp_ext/cpp_ext.cp39-win_amd64.pyd +0 -0
- pyxcp/daq_stim/__init__.py +1 -1
- pyxcp/daq_stim/stim.cp38-win_amd64.pyd +0 -0
- pyxcp/daq_stim/stim.cp39-win_amd64.pyd +0 -0
- pyxcp/daq_stim/stim_wrapper.cpp +3 -1
- pyxcp/master/master.py +41 -40
- pyxcp/recorder/rekorder.cp38-win_amd64.pyd +0 -0
- pyxcp/recorder/rekorder.cp39-win_amd64.pyd +0 -0
- {pyxcp-0.22.24.dist-info → pyxcp-0.22.25.dist-info}/METADATA +1 -1
- {pyxcp-0.22.24.dist-info → pyxcp-0.22.25.dist-info}/RECORD +15 -15
- {pyxcp-0.22.24.dist-info → pyxcp-0.22.25.dist-info}/LICENSE +0 -0
- {pyxcp-0.22.24.dist-info → pyxcp-0.22.25.dist-info}/WHEEL +0 -0
- {pyxcp-0.22.24.dist-info → pyxcp-0.22.25.dist-info}/entry_points.txt +0 -0
pyxcp/__init__.py
CHANGED
|
Binary file
|
|
Binary file
|
pyxcp/daq_stim/__init__.py
CHANGED
|
@@ -38,7 +38,7 @@ class DaqProcessor:
|
|
|
38
38
|
def setup(self, start_datetime: Optional[CurrentDatetime] = None, write_multiple: bool = True):
|
|
39
39
|
if not self.xcp_master.slaveProperties.supportsDaq:
|
|
40
40
|
raise RuntimeError("DAQ functionality is not supported.")
|
|
41
|
-
self.daq_info = self.xcp_master.getDaqInfo()
|
|
41
|
+
self.daq_info = self.xcp_master.getDaqInfo(include_event_lists=False)
|
|
42
42
|
if start_datetime is None:
|
|
43
43
|
start_datetime = CurrentDatetime(time_ns())
|
|
44
44
|
self.start_datetime = start_datetime
|
|
Binary file
|
|
Binary file
|
pyxcp/daq_stim/stim_wrapper.cpp
CHANGED
|
@@ -15,7 +15,9 @@ using namespace py::literals;
|
|
|
15
15
|
|
|
16
16
|
PYBIND11_MODULE(stim, m) {
|
|
17
17
|
py::class_<DaqEventInfo>(m, "DaqEventInfo")
|
|
18
|
-
.def(py::init<const std::string&, std::int8_t, std::size_t, std::size_t, std::size_t, std::string_view, bool, bool, bool>()
|
|
18
|
+
.def(py::init<const std::string&, std::int8_t, std::size_t, std::size_t, std::size_t, std::string_view, bool, bool, bool>(),
|
|
19
|
+
"name"_a, "type_code"_a, "cycle"_a, "max_daq_lists"_a, "priority"_a, "consistency"_a, "daq_supported"_a,
|
|
20
|
+
"stim_supported"_a, "packed_supported"_a
|
|
19
21
|
);
|
|
20
22
|
|
|
21
23
|
py::class_<Stim>(m, "Stim")
|
pyxcp/master/master.py
CHANGED
|
@@ -1670,7 +1670,7 @@ class Master:
|
|
|
1670
1670
|
self.logger.debug(f"Our checksum : 0x{cc:08X}")
|
|
1671
1671
|
return cs.checksum == cc
|
|
1672
1672
|
|
|
1673
|
-
def getDaqInfo(self):
|
|
1673
|
+
def getDaqInfo(self, include_event_lists=True):
|
|
1674
1674
|
"""Get DAQ information: processor, resolution, events."""
|
|
1675
1675
|
result = {}
|
|
1676
1676
|
dpi = self.getDaqProcessorInfo()
|
|
@@ -1711,45 +1711,46 @@ class Master:
|
|
|
1711
1711
|
result["resolution"] = resolutionInfo
|
|
1712
1712
|
channels = []
|
|
1713
1713
|
daq_events = []
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
"
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1714
|
+
if include_event_lists:
|
|
1715
|
+
for ecn in range(dpi.maxEventChannel):
|
|
1716
|
+
eci = self.getDaqEventInfo(ecn)
|
|
1717
|
+
cycle = eci["eventChannelTimeCycle"]
|
|
1718
|
+
maxDaqList = eci["maxDaqList"]
|
|
1719
|
+
priority = eci["eventChannelPriority"]
|
|
1720
|
+
time_unit = eci["eventChannelTimeUnit"]
|
|
1721
|
+
consistency = eci["daqEventProperties"]["consistency"]
|
|
1722
|
+
daq_supported = eci["daqEventProperties"]["daq"]
|
|
1723
|
+
stim_supported = eci["daqEventProperties"]["stim"]
|
|
1724
|
+
packed_supported = eci["daqEventProperties"]["packed"]
|
|
1725
|
+
name = self.fetch(eci.eventChannelNameLength)
|
|
1726
|
+
if name:
|
|
1727
|
+
name = decode_bytes(name)
|
|
1728
|
+
channel = {
|
|
1729
|
+
"name": name,
|
|
1730
|
+
"priority": eci["eventChannelPriority"],
|
|
1731
|
+
"unit": eci["eventChannelTimeUnit"],
|
|
1732
|
+
"cycle": eci["eventChannelTimeCycle"],
|
|
1733
|
+
"maxDaqList": eci["maxDaqList"],
|
|
1734
|
+
"properties": {
|
|
1735
|
+
"consistency": consistency,
|
|
1736
|
+
"daq": daq_supported,
|
|
1737
|
+
"stim": stim_supported,
|
|
1738
|
+
"packed": packed_supported,
|
|
1739
|
+
},
|
|
1740
|
+
}
|
|
1741
|
+
daq_event_info = DaqEventInfo(
|
|
1742
|
+
name,
|
|
1743
|
+
types.EVENT_CHANNEL_TIME_UNIT_TO_EXP[time_unit],
|
|
1744
|
+
cycle,
|
|
1745
|
+
maxDaqList,
|
|
1746
|
+
priority,
|
|
1747
|
+
consistency,
|
|
1748
|
+
daq_supported,
|
|
1749
|
+
stim_supported,
|
|
1750
|
+
packed_supported,
|
|
1751
|
+
)
|
|
1752
|
+
daq_events.append(daq_event_info)
|
|
1753
|
+
channels.append(channel)
|
|
1753
1754
|
result["channels"] = channels
|
|
1754
1755
|
self.stim.setDaqEventInfo(daq_events)
|
|
1755
1756
|
return result
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pyxcp/__init__.py,sha256=
|
|
1
|
+
pyxcp/__init__.py,sha256=NDu785DrhpFkKcUgVKRBeBhp6NC9yp9DVxG_MGx_3Dg,548
|
|
2
2
|
pyxcp/aml/EtasCANMonitoring.a2l,sha256=EJYwe3Z3H24vyWAa6lUgcdKnQY8pwFxjyCN6ZU1ST8w,1509
|
|
3
3
|
pyxcp/aml/EtasCANMonitoring.aml,sha256=xl0DdyeiIaLW0mmmJNAyJS0CQdOLSxt9dxfgrdSlU8Y,2405
|
|
4
4
|
pyxcp/aml/ifdata_CAN.a2l,sha256=NCUnCUEEgRbZYSLGtUGwL2e7zJ8hrp0SbmLHGv8uY58,612
|
|
@@ -24,24 +24,24 @@ pyxcp/constants.py,sha256=9yGfujC0ImTYQWfn41wyw8pluJTSrhMGWIVeIZTgsLg,1160
|
|
|
24
24
|
pyxcp/cpp_ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
25
|
pyxcp/cpp_ext/bin.hpp,sha256=PwJloZek21la-RBSda2Hc0u_6gID0sfTduPeplaAyR4,2561
|
|
26
26
|
pyxcp/cpp_ext/blockmem.hpp,sha256=ysaJwmTWGTfE54Outk3gJYOfAVFd_QaonBMtXLcXwCc,1242
|
|
27
|
-
pyxcp/cpp_ext/cpp_ext.cp38-win_amd64.pyd,sha256=
|
|
28
|
-
pyxcp/cpp_ext/cpp_ext.cp39-win_amd64.pyd,sha256=
|
|
27
|
+
pyxcp/cpp_ext/cpp_ext.cp38-win_amd64.pyd,sha256=FvxLTjwiAyCQBEoqKOZ-fci6t1caxfVchOpwv7ruPzY,279552
|
|
28
|
+
pyxcp/cpp_ext/cpp_ext.cp39-win_amd64.pyd,sha256=Jx5MDTdx6bNKSEvJjd_Wa-TnVHmexbmdjPqQARmVYx8,260096
|
|
29
29
|
pyxcp/cpp_ext/daqlist.hpp,sha256=g2hlxgoQorAGKHedZFZ0c2FQh1APMIA9sVB6M6hD_n8,7277
|
|
30
30
|
pyxcp/cpp_ext/event.hpp,sha256=Z-1yxsEKsr81NnLVEWJ2ANA8FV7YsM7EbNxaw-elheE,1200
|
|
31
31
|
pyxcp/cpp_ext/extension_wrapper.cpp,sha256=FXFjyruBjQYqjCYZZcajdYv6dvNnCggMAbWLqJmfuTM,4756
|
|
32
32
|
pyxcp/cpp_ext/helper.hpp,sha256=ONAsVupIqqmNDp8bgGWS0TfSYeCFkk3kwwZbbqsh0HQ,7813
|
|
33
33
|
pyxcp/cpp_ext/mcobject.hpp,sha256=A5GKcfjYMcfm3hfTQfFuS4JYNFTvfmzAcMXCe01GOs4,6429
|
|
34
34
|
pyxcp/cpp_ext/tsqueue.hpp,sha256=FWMemzXNgV5dQ7gYmTCzC0QYfgl0VI9JCybYelBcCHU,1026
|
|
35
|
-
pyxcp/daq_stim/__init__.py,sha256=
|
|
35
|
+
pyxcp/daq_stim/__init__.py,sha256=xQNF6MlVnPHtjj5fKEvXnLWxIJs_Fqd5XVMN4lcFaC8,9532
|
|
36
36
|
pyxcp/daq_stim/optimize/__init__.py,sha256=FUWK0GkNpNT-sUlhibp7xa2aSYpm6Flh5yA2w2IOJqg,2520
|
|
37
37
|
pyxcp/daq_stim/optimize/binpacking.py,sha256=Iltho5diKlJG-ltbmx053U2vOFRlCISolXK61T14l_I,1257
|
|
38
38
|
pyxcp/daq_stim/scheduler.cpp,sha256=a7VK7kP2Hs8yMlcDAkXwJ0bH88lr_yz156sphcHS7Z4,715
|
|
39
39
|
pyxcp/daq_stim/scheduler.hpp,sha256=U_6tUbebmzX5vVZS0EFSgTaPsyxMg6yRXHG_aPWA0x4,1884
|
|
40
|
-
pyxcp/daq_stim/stim.cp38-win_amd64.pyd,sha256=
|
|
41
|
-
pyxcp/daq_stim/stim.cp39-win_amd64.pyd,sha256=
|
|
40
|
+
pyxcp/daq_stim/stim.cp38-win_amd64.pyd,sha256=X_ftCGxwZ4slT40A21gSUwJq8J-vB8Q_VUvZgQkRB2c,189440
|
|
41
|
+
pyxcp/daq_stim/stim.cp39-win_amd64.pyd,sha256=nM37yO0Em1w_FxpT4mL5a8IVkYT5wsKLON1b1lI6C6w,183296
|
|
42
42
|
pyxcp/daq_stim/stim.cpp,sha256=F2OG67W4KKwTTiUCxm-9egIv3TLFdOkRunX6xf7YOtc,177
|
|
43
43
|
pyxcp/daq_stim/stim.hpp,sha256=U-uInRrA6OCdMl1l1SWbQ_KEPpnNYrWut924IvbW6R0,18508
|
|
44
|
-
pyxcp/daq_stim/stim_wrapper.cpp,sha256=
|
|
44
|
+
pyxcp/daq_stim/stim_wrapper.cpp,sha256=iT2yxJ3LRG7HoYC1bwhM3tCAxF9X_HHierBNsLRmTJg,1995
|
|
45
45
|
pyxcp/dllif.py,sha256=nXzD5toh_z9Zjj3x3trigURfwE98fYaL4RmUlI7FaqY,3308
|
|
46
46
|
pyxcp/errormatrix.py,sha256=iY3VlAem7pNfpK4scD_087wxMlLxNuidB7bbpiUiAyc,45464
|
|
47
47
|
pyxcp/examples/conf_can.toml,sha256=4o-M4xmh7pCzuQLfXnIOLIXqx5aZjMAZ6jtjYJ8hLBQ,370
|
|
@@ -68,7 +68,7 @@ pyxcp/examples/xcphello.py,sha256=xbcWq8StRJyUZBLUvknsXv7VkEBD5SU0SJjlZTHsSzs,26
|
|
|
68
68
|
pyxcp/examples/xcphello_recorder.py,sha256=QHWJsq5h5CI9t5qEmMSorZyzirTpoXz4nzuKTMzbZCA,3409
|
|
69
69
|
pyxcp/master/__init__.py,sha256=QQbkUJM1WQ-5p2MiNFYxLAmHhNsCQLzDp-S4aoOFxoA,318
|
|
70
70
|
pyxcp/master/errorhandler.py,sha256=U5QuvGRDM9kRNwY5kbkTOnthp19RHoXEGCsaBNiFTps,14973
|
|
71
|
-
pyxcp/master/master.py,sha256=
|
|
71
|
+
pyxcp/master/master.py,sha256=y5i5HTw5g4HKHW8tXfpNc0hmaQjle-3dsUkVFqPjUXc,78365
|
|
72
72
|
pyxcp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
73
73
|
pyxcp/recorder/__init__.py,sha256=pg-cdOaoj-D-woFxFb2p6SpFTNTdpQEIknHdDaQ9ROE,2695
|
|
74
74
|
pyxcp/recorder/build_clang.cmd,sha256=JvFngSnb28XcBGXxC6MGrcOCGYfahOIvHpgRpqbA6HQ,175
|
|
@@ -85,8 +85,8 @@ pyxcp/recorder/mio.hpp,sha256=5ASJLKSEykH0deAQD5uak-_yAgd5p2n8t06315GSGrg,63346
|
|
|
85
85
|
pyxcp/recorder/reader.hpp,sha256=rr9XZ_ciL6eF2_xEqyt9XYNqTIze9ytAsnf8uYukO9U,5201
|
|
86
86
|
pyxcp/recorder/reco.py,sha256=6N6FIwfCEVMpi5dr3eUOQa1lowcg2LCnS_sy_-b-UiQ,8725
|
|
87
87
|
pyxcp/recorder/recorder.rst,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
88
|
-
pyxcp/recorder/rekorder.cp38-win_amd64.pyd,sha256=
|
|
89
|
-
pyxcp/recorder/rekorder.cp39-win_amd64.pyd,sha256=
|
|
88
|
+
pyxcp/recorder/rekorder.cp38-win_amd64.pyd,sha256=_XW8GKdICxi0mzTRHwZ7Fc_afbCMOPrCQpNa-EozKnE,377856
|
|
89
|
+
pyxcp/recorder/rekorder.cp39-win_amd64.pyd,sha256=IlUPHXqh86T7fBmgHC8EE7nTMuCkJMYTggM9u52LSwU,364032
|
|
90
90
|
pyxcp/recorder/rekorder.cpp,sha256=U0LMyk8pZXx9emgS_WPVthvn_9IpgE7JGrh4kg-8CX4,1900
|
|
91
91
|
pyxcp/recorder/rekorder.hpp,sha256=sWvRch9bVt6mmgrFHp5mwWhap7HoFG4geeb7UqEIzio,7638
|
|
92
92
|
pyxcp/recorder/setup.py,sha256=_99XFPQAd5V4LcJaSGJwdnbxgxJ7kl8DEXfHsnKO1Yg,998
|
|
@@ -124,8 +124,8 @@ pyxcp/types.py,sha256=wm3tOocuAln4jpH_mDguPRYtIzHSQ_KQBYNATFB2WXc,26068
|
|
|
124
124
|
pyxcp/utils.py,sha256=unlg0CoNwcWYfd-BE0hZJ93uhlAoW_nryv9tS_R3C44,2969
|
|
125
125
|
pyxcp/vector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
126
126
|
pyxcp/vector/map.py,sha256=7Gnhvr79geMeqqGVIJPxODXGwABdNDinnqzhpooN5TE,2306
|
|
127
|
-
pyxcp-0.22.
|
|
128
|
-
pyxcp-0.22.
|
|
129
|
-
pyxcp-0.22.
|
|
130
|
-
pyxcp-0.22.
|
|
131
|
-
pyxcp-0.22.
|
|
127
|
+
pyxcp-0.22.25.dist-info/entry_points.txt,sha256=2JbL-pWn9UxpBrS64aWiFFkq9x2A7y-dkrxYlfQqIJU,307
|
|
128
|
+
pyxcp-0.22.25.dist-info/LICENSE,sha256=fTqV5eBpeAZO0_jit8j4Ref9ikBSlHJ8xwj5TLg7gFk,7817
|
|
129
|
+
pyxcp-0.22.25.dist-info/METADATA,sha256=oUrQTmW0BB6APl8u-j-RKbfm75jwXGBVnr72VmiaOjo,4088
|
|
130
|
+
pyxcp-0.22.25.dist-info/WHEEL,sha256=Hkd2GxahgaJo_PUXSn2Z_PVyVBw8DHa683MQcF0Lrhc,96
|
|
131
|
+
pyxcp-0.22.25.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|