Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotImplementedError REINIT_DAQ when trying to read with multiple DaqLists #208

Open
mannyOaks opened this issue Jan 31, 2025 · 1 comment

Comments

@mannyOaks
Copy link
Contributor

Hi, I'm trying to read 2 arrays in different daq lists, one signal is of size 784 and the other is of size 17, but I'm getting this reinit daq not implemented pre-action, is this some missing functionality or is there something wrong with my setup? I don't get an error if I do the whole setup 2 times rather than creating 2 daq lists.

Image
Can't show much but, measurements contain the tuples for each index for both signals.

Image
[2025-01-31 14:21:15,497][ERROR] - Traceback (most recent call last): File ".vscode/debug_pyxcp_daqlists.py", line 60, in <module> daq_parser.setup() # Execute setup procedures. File "/home/edista_local/mhern/xcp/venv/lib/python3.9/site-packages/pyxcp/daq_stim/__init__.py", line 109, in setup self.xcp_master.allocOdt(i, odt_count) File "/home/edista_local/mhern/xcp/venv/lib/python3.9/site-packages/pyxcp/master/errorhandler.py", line 431, in inner res = executor(inst, func, arguments) File "/home/edista_local/mhern/xcp/venv/lib/python3.9/site-packages/pyxcp/master/errorhandler.py", line 392, in __call__ preActions, actions, repeater = handler.actions(*getActions(inst.service, self.error_code)) File "/home/edista_local/mhern/xcp/venv/lib/python3.9/site-packages/pyxcp/master/errorhandler.py", line 255, in actions raise NotImplementedError("Pre-action REINIT_DAQ") NotImplementedError: Pre-action REINIT_DAQ

@christoph2
Copy link
Owner

@mannyOaks

The REINIT_DAQ is an XCP errorhandling pre-preaction and because there is currently no implementation for this situation, an NotImplementedError exception is raised...
In other words, the root cause is obfuscated: the offending service is ALLOC_ODT and accoding to the errormatrix there a two errors with pre-action REINIT_DAQ, ERR_SEQUENCE (very unlikely in this case) and ERR_MEMORY_OVERFLOW.
It seems you are hitting a memory limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants