{"title":"PandA(Box) flies on Bluesky: maintainable and user-friendly fly scans\n with Mamba at HEPS","authors":"Li, Peng-Cheng, Zhang, Cheng-Long, Zhang, Yu-Jun, Li, Chun, Guo, Zhi-Ying, Lei, Ge, Zhang, Yi, Zhou, Ai-Yu, Bi, Xiao-Xue, Liu, Yu","doi":"10.48550/arxiv.2302.08304","DOIUrl":null,"url":null,"abstract":"Purpose: Fly scans are indispensible in many experiments at the High Energy Photon Source (HEPS). PandABox, the main platform to implement fly scans at HEPS, needs to be integrated into Mamba, the experiment control system developed at HEPS based on Bluesky. Methods: In less than 600 lines of easily customisable and extensible backend code, provided are full control of PandABox's TCP server in native ophyd, automated configuration (also including wiring) of \"PandA blocks\" for constant-speed mapping experiments of various dimensions, as well as generation of scans deliberately fragmented to deal with hardware limits in numbers of exposure frames or sequencer table entries. Results: The upper-level control system for PandABox has been ported to Bluesky, enabling the combination of both components' flexibility in fly-scan applications. Based on this backend, a user-friendly Mamba frontend is developed for X-ray fluorescence (XRF) mapping experiments, which provides fully online visual feedback.","PeriodicalId":496270,"journal":{"name":"arXiv (Cornell University)","volume":"461 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv (Cornell University)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.48550/arxiv.2302.08304","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Purpose: Fly scans are indispensible in many experiments at the High Energy Photon Source (HEPS). PandABox, the main platform to implement fly scans at HEPS, needs to be integrated into Mamba, the experiment control system developed at HEPS based on Bluesky. Methods: In less than 600 lines of easily customisable and extensible backend code, provided are full control of PandABox's TCP server in native ophyd, automated configuration (also including wiring) of "PandA blocks" for constant-speed mapping experiments of various dimensions, as well as generation of scans deliberately fragmented to deal with hardware limits in numbers of exposure frames or sequencer table entries. Results: The upper-level control system for PandABox has been ported to Bluesky, enabling the combination of both components' flexibility in fly-scan applications. Based on this backend, a user-friendly Mamba frontend is developed for X-ray fluorescence (XRF) mapping experiments, which provides fully online visual feedback.