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

Automatically updating spec.log files in PyMCA #1063

Open
adas42 opened this issue Feb 28, 2024 · 2 comments
Open

Automatically updating spec.log files in PyMCA #1063

adas42 opened this issue Feb 28, 2024 · 2 comments

Comments

@adas42
Copy link

adas42 commented Feb 28, 2024

Screenshot 2024-02-27 at 19 25 00

Hello, I was wondering if it is possible to have PyMCA update the spec.log file without having to hit the refresh button. This would be very helpful for use during beamline alignment. Thank you!

@vasole
Copy link
Owner

vasole commented Feb 28, 2024

I have implemented a similar thing on HDF5, but it also requires a user action (click on the last scan), so it does not make any improvement.

I guess what you actually want is to have the information of the on-going scan without having to hit the refresh button.

That is accessible via shared memory for linux and Mac (not for windows).

If I remember well the SPEC commands to make things comfortable where:

SPEC> jdo sps
SPEC> shareddata

and then access the SPEC session via the SPEC icon (top right of your image) and the SPS tab.

If the sps.mac macro is missing in your SPEC installation, please let me know.

@adas42
Copy link
Author

adas42 commented Feb 28, 2024

Thanks so much for the response. The SPS tab actually works well for us however is only showing the current scan. Is there a way to stay in the SpecFile tab to have the ability to look at previous scans as well while the file/plot autoupdates?

Thanks once again for your efforts into PyMCA!

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

2 participants