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

IVS_GetSetQCForSweep: Add convenience function for querying Set QC passed/failed state #502

Merged
merged 1 commit into from
Mar 31, 2020

Conversation

t-b
Copy link
Collaborator

@t-b t-b commented Mar 26, 2020

Close #410.

Functionality requested by @aleonlein.

/// @brief Return the Set QC passed/failed state for the given sweep
///
/// @return 1 if passed, 0 if not (or not yet) and
/// asserts out on all other errors.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@t-b Do we want assertions in this function? I'm reluctant to have a call from the work sequence engine turn off whatever the user is doing at that time. What about returning an error message to the caller?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling a function via zeromq XOP which asserts out does not stop anything running in IP. So switchting to just return errors is giving only less clutter in the history.

@t-b t-b merged commit f70a317 into master Mar 31, 2020
@t-b t-b deleted the feature/add-ivscc-function-for-set-qc-state branch March 31, 2020 09:09
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.

IVSCC: Add custom routine to query pass/fail state of a RA cycle (Set QC)
2 participants