Skip to content

Fix motor off updating cs#123

Merged
LeandroMartinsdS merged 2 commits into
dls-masterfrom
fixMotorOffUpdatingCs
May 14, 2024
Merged

Fix motor off updating cs#123
LeandroMartinsdS merged 2 commits into
dls-masterfrom
fixMotorOffUpdatingCs

Conversation

@LeandroMartinsdS
Copy link
Copy Markdown
Contributor

This pull request patches the feature of updating the CS axis VAL when the OFF of any motor belonging to the CS changes.

The feature was introduced in R2-6-1, and after removed in R2-6-2 due to a Segmentation Fault occurring when a motor is allocated to a CS not declared in the builder.

Add back the changes made in the commit
30dc0a2
Fix the SegFault that occurs when a motor is assigned into a CS not
declared in builder
@JamesOHeaDLS
Copy link
Copy Markdown

Looks good to me - thanks

@guirodrigueslima
Copy link
Copy Markdown
Contributor

Hi @LeandroMartinsdS and @JamesOHeaDLS

I didn't notice this problem during the development of version R2-6-1, how was it discovered?

Do you have an estimated date for the new merge?

Thanks!

@LeandroMartinsdS
Copy link
Copy Markdown
Contributor Author

Hi @guirodrigueslima,

Sorry for the long silence.

That issue was observed when we have added a new motor into a a controller, where this motor was addressed to a coordinate system in the controller's project with no need, and therefore wasn't declared in the IOC builder. The segmentation fault didn't happen using pmac driver previous releases .

I will merge this feature and tag it as 2-6-4b1.

@LeandroMartinsdS LeandroMartinsdS merged commit 732234f into dls-master May 14, 2024
@LeandroMartinsdS LeandroMartinsdS deleted the fixMotorOffUpdatingCs branch May 14, 2024 12:10
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