-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add three new ZMQ publishers for TP results / Retrieve TP results #2230
base: main
Are you sure you want to change the base?
Commits on Nov 26, 2024
-
Util: Add two conversion function for DA/AD unit string return
Added GetADChannelUnit, GetDAChannelUnit that return the unit string depending on clamp mode. Adapted GetChanAmpAssignUnit to use the new functions.
Configuration menu - View commit details
-
Copy full SHA for 3dd0dcf - Browse repository at this point
Copy the full SHA 3dd0dcfView commit details -
TP: Add more information that is transferred to the TP analysis thread
- extended the TPAnalysisInput structure This is a preparation commit for adding zeromq publishers that include some of that information.
Configuration menu - View commit details
-
Copy full SHA for 92a4275 - Browse repository at this point
Copy the full SHA 92a4275View commit details -
PUB: Preparation to add four zeromq publishers for TP data
- the data is published from the TP analysis thread including additional information available in the thread through the previous commit. - The additional values are also returned by the thread and collected in the async buffer as well then in TPResult and in TPStorage. - The involved waves and their respective getters were adapted with new elements that the additional data can be stored. - As most of the elements store the same information, thus a constant was introduced with a dimension label list that is used as helper for the wave creation in the getter functions.
Configuration menu - View commit details
-
Copy full SHA for a10846d - Browse repository at this point
Copy the full SHA a10846dView commit details -
PUB: Add four publishers to publish TP data
- The four publishers publish the same json, just with a different period. There is a filter for live, 1s, 5s and 10s publishing interval. - See PUB_TPResult for JSON description - publisher is called from TP_TSAnalysis thread
Configuration menu - View commit details
-
Copy full SHA for c57a13a - Browse repository at this point
Copy the full SHA c57a13aView commit details -
TP: Rename TP_GetStoredTPs to TP_GetConsecutiveTPsUptoMarker
This prevent misleading naming and it more fitting to the functionality the function actually implements
Configuration menu - View commit details
-
Copy full SHA for 22a9ef3 - Browse repository at this point
Copy the full SHA 22a9ef3View commit details -
TP: Added two functions that allow to retrieve info about TPs
Added TP_GetStoredTP and TP_GetStoredTPsFromCycle that allow to get information about a TP by tpMarker or TPs by cycle id and headstage. - both functions allow to recreate the DA wave for the TPs with the flag includeDAC - the returned data includes the AD, DA data as well as metadata for each returned TP (from TPStorage). - These TP functions use the same TP utility function.
Configuration menu - View commit details
-
Copy full SHA for cc95e5c - Browse repository at this point
Copy the full SHA cc95e5cView commit details -
Tests: Adapt FetchPublishedMessage for more tries
With a running TP adding zeromq publishing messages for each TP it appears that we have to look through more than the last 100 messages after a test to find the requested. - split logic into two parts: either read out upto 10000 existing messages or wait up to 10 seconds (100 trys with 100 ms sleep) if no message is available
Configuration menu - View commit details
-
Copy full SHA for fc20936 - Browse repository at this point
Copy the full SHA fc20936View commit details