Skip to content

Fixed missing detector arming in standard collection#320

Open
MSkinner (mskinner5278) wants to merge 1 commit into
NSLS2:2023-2-nyxfrom
mskinner5278:post-compliance-update
Open

Fixed missing detector arming in standard collection#320
MSkinner (mskinner5278) wants to merge 1 commit into
NSLS2:2023-2-nyxfrom
mskinner5278:post-compliance-update

Conversation

@mskinner5278
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator

@JunAishima Jun Aishima (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()

Comment thread daq_macros.py
'data_path':data_path}
start_time = time.time()
#flyer.detector_arm(**required_parameters)
flyer.detector_arm(**required_parameters)
Copy link
Copy Markdown
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
Copy Markdown
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