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

Fixed missing detector arming in standard collection #320

Open
wants to merge 1 commit into
base: 2023-2-nyx
Choose a base branch
from

Conversation

mskinner5278
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@JunAishima JunAishima left a comment

Choose a reason for hiding this comment

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

fix how to use flyer.detector_arm()

@@ -3433,10 +3434,21 @@ def zebraDaqBluesky(flyer, angle_start, num_images, scanWidth, imgWidth, exposur
'change_state':changeState, 'transmission':vector_params["transmission"],
'data_path':data_path}
start_time = time.time()
#flyer.detector_arm(**required_parameters)
flyer.detector_arm(**required_parameters)
Copy link
Collaborator

Choose a reason for hiding this comment

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

this is not correct. look at the flyer.detector_arm() code and see what its return value is and how your code needs to be changed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We were getting NoneType back instead of the status object, so I have moved the creation of the status object to the collection to allow operations to continue.

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