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

Feature/arbitrary fields #2

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Conversation

blondejamtart
Copy link

Added ability to set arbitrary PandA fields via EPICS + a db template 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++) {
Copy link

@thomascobb thomascobb Jan 2, 2020

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?

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

Successfully merging this pull request may close these issues.

2 participants