South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F....
-
Upload
osborne-fletcher -
Category
Documents
-
view
215 -
download
0
Transcript of South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F....
![Page 1: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/1.jpg)
South East South East RegionalRegional
Collaborative Access Collaborative Access TeamTeam
Controls and Programs:Using Python With MX
James F. FaitBill Lavender
![Page 2: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/2.jpg)
MX Client/Server
• MxServer -- Linux or Windows– Interface to Hardware– Multiple Servers on Beamline
• MX Client Programs– Motor– MXGUI– ImcaGUI– Optimize– Python MX GUI
![Page 3: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/3.jpg)
Tcl/Tk User Interface
• Existing GUIs Used at IMCA, others
• MXGUI -- Staff Level UI
• IMCAGUI -- Crystallographic Setup– MAD Fluorescence scans and Analysis– Periodic Table for Edge Setup
• Optimize -- Intensity Optimization
• Auto-Optimize -- “One Button” Setup
![Page 4: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/4.jpg)
Imcagui User Interface
![Page 5: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/5.jpg)
Selecting an Absorption Edge
![Page 6: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/6.jpg)
Python User Interface
• Similar look and feel to Tcl/Tk user GUI
• Implemented with Tkinter and PMW
• Uses native mp binding for Mx
• Better performance than Tcl/Tk
![Page 7: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/7.jpg)
Attenuation Widget
![Page 8: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/8.jpg)
Thermocouple Logger
![Page 9: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/9.jpg)
Mono RTD Logger
![Page 10: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/10.jpg)
Beam Position Monitor
• 4 PIN Diodes • 0.5 μm Chromium Foil• Back Fluorescence• Less than 1μrad tune
sensitivity, 5 μm displacement.
• Automatic tune adjustment software, for slow changes in tune.
![Page 11: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/11.jpg)
BPM Tune Response
![Page 12: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/12.jpg)
2nd Crystal Tune Feedback
![Page 13: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/13.jpg)
Main User GUI
![Page 14: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/14.jpg)
Periodic Table for MAD Setup
![Page 15: South East Regional Collaborative Access Team Controls and Programs: Using Python With MX James F. Fait Bill Lavender.](https://reader034.fdocuments.net/reader034/viewer/2022042822/5697c0121a28abf838ccc737/html5/thumbnails/15.jpg)
Crystal Alignment