Skip to content

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.

3 participants