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

No more queues! #138

Open
christoph2 opened this issue Jul 11, 2023 · 1 comment
Open

No more queues! #138

christoph2 opened this issue Jul 11, 2023 · 1 comment

Comments

@christoph2
Copy link
Owner

christoph2 commented Jul 11, 2023

Transport layer now uses a flexible, policy based design.
In short:
I you want to continue using queues, there's now a policy object in between, e.g.:

x.daqQueue 
# becomes
x.policy.daqQueue 

No more changes required (this is LegacyFrameAcquisitionPolicy running under the hood).
In any case, have a look at xcphello_recorder.py and run it, even if you are an experienced user!

P.S.: re-run python setup.py develop to rebuild extension module.
Now I have to fix some over-heating problems (including myself), than I'll write some more words.

@danielhrisca
Copy link
Contributor

It's worth mentioning that the x.policy.daqQueue items are now tuples with the content (counter, timestamp, payload) compared to (payload, counter, length, timestamp) before the policy change

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

No branches or pull requests

2 participants