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

PPMAC - Invalid lookahead definition when switching CS Groups #125

Open
LeandroMartinsdS opened this issue May 8, 2024 · 0 comments
Open

Comments

@LeandroMartinsdS
Copy link
Contributor

The redefineLookaheads method currently uses commands that are exclusive to TurboPMAC, making it ineffective for PowerPMAC. This difference can lead to incorrect or non-existent allocation for coordinate systems when switching between defined CsGroups.

Key differences between TurboPMAC and PowerPMAC that are relevant to this issue include:

  • PowerPMAC does not require a specific order to define lookahead buffers for each coordinate system, unlike TurboPMAC which requires definition from high-numbered to low-numbered coordinate systems.

  • PowerPMAC has a minimum lookahead buffer size of 1024.

  • PowerPMAC only accepts the define lookahead command for coordinate systems that have a number of assigned motors greater than zero. Although it is possible to directly set Coord[x].LHSize (which reflects the buffer size defined by the define lookahead command) without any restriction on the number of motors assigned, it is unclear if the allocation occurs correctly. As per the Power PMAC Software Reference Manual (May 19, 2023, p.853), it is stated that “it is not possible to write to it directly in the Script environment.”

This issue is to keep track of the changes necessary to ensure compatibility of the redefineLookaheads method with both TurboPMAC and PowerPMAC, and to guarantee correct lookahead definition when switching between CS Groups, regardless of the PPMAC type in use.

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

No branches or pull requests

1 participant