-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feature/arbitrary fields #2
base: master
Are you sure you want to change the base?
Conversation
Tidy up error reporting when PandA is disconnected See merge request controls/support/adpandablocks!1
…bug with NDAttributeFile not working)
… to control a TTLOUT
if (it != posBusLookup.end()) { | ||
std::map<std::string, int*>::iterator it2 = it->second.find(fieldName); | ||
if (it2 != it->second.end()) { | ||
for (int ind = 0; ind < NCUSTOM; ind++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm worried this will affect performance as this code is run at 10Hz for every param change.
Also, these are not necessarily PosBus params, can't the custom code deal with any types of params?
Instead of doing this inner loop, can we add a customParam map that contains precisely what we need to extract in the loop?
…s loop to improve performance
Added ability to set arbitrary PandA fields via EPICS + a db template to control a TTLOUT