Automated beamline messages give SSRL users a break

Sep 30, 2010 By Lori Ann White
Sam Webb at the Beamline 2-3 user station, planning his next upgrades. (Photo by Lori Ann White.)

Some users of the Stanford Synchrotron Radiation Lightsource enjoyed a little extra peace of mind, as well as more regular meals and sleep, starting in early spring of 2010. That's when Sam Webb gave them a software tool that kept an eye on their experiments for them.

"Users would joke that it'd be nice if the could call them," said Webb, an SSRL staff scientist and beamline support scientist. "I said, 'Well, technically that's not that hard to do.'"

Webb's software tracks data collection, as well as the status of the SPEAR synchrotron , and notifies both users and Webb himself via or e-mail if something out of the ordinary occurs. Webb installed it on Beamline 2-3, the dedicated microfocus imaging beamline, as well as Beamline 10-2, which is run half-time in imaging mode. During this past run the messaging tool was offered as an option for users on Webb's beamlines.

"If anything weird happens—if the ring dumps, or data collection gets stuck somewhere—it'll see that and send an e-mail or text message" to the user, Webb explained. The messaging tool will also notify users when the accelerator comes back online if there's been a break in service.

"Quite often, if the ring dumps, a user will go get dinner," Webb said. "When they come back they realize the ring's been up for half an hour and they've wasted half an hour of time. So actually [the tool] lets you know when you should be heading back to the beamline, too."

"The real advantage is for people who can actually leave the beamline and get rest or get dinner," Webb said. He explained that this is often the case with imaging because the software enables users to automate much of the data gathering process.

Does this tool have any downsides? "Standard text messaging rates may apply," Webb said with a laugh.

According to Webb, development and implementation of the tool have thus far been on an informal basis. One problem proved to be ensuring adequate testing and debugging. Of the users who did request that the tool be turned on, Webb said most did not receive messages because nothing went wrong. The solution was for Webb himself to, as he put it, "mess things up" during test beam time.

"I got lots of messages," he said. After Webb made the tool available to his users, he did get some feedback from them as well.

"It was a great help," said Weili Zheng, a post-doctoral researcher working for Professor Helen Nichol, an SSRL user from the University of Saskatchewan. "We didn't need to get up at midnight and worry about whether the data collection was going properly." Another benefit, said Zheng, was that the messaging tool freed them up for other tasks, such as data analysis. "It made our work much more efficient."

Webb plans to add "Messaging Tool 1.0" to the user interface of the data collection software he wrote for his beamlines, and to expand the tool's messaging capabilities based on user feedback. For example, users have asked to be messaged when a scan has completed so they can return to the station to set up another scan. He expects to roll out the tool to other beamlines, as well.

Better safe than sorry. "Personally I hate being at the beamline all night myself," Webb said. He grinned. "It's always best if users have sleep."

Explore further: New insights found in black hole collisions

add to favorites email to friend print save as pdf

Related Stories

SSRL Beamline 13 Achieves First Light

Feb 29, 2008

On February 14, the first light shone into the Stanford Synchrotron Radiation Laboratory's newest beamline. Beamline 13, which has been under construction for the past two years, will allow new types of soft ...

Recommended for you

New insights found in black hole collisions

Mar 27, 2015

New research provides revelations about the most energetic event in the universe—the merging of two spinning, orbiting black holes into a much larger black hole.

X-rays probe LHC for cause of short circuit

Mar 27, 2015

The LHC has now transitioned from powering tests to the machine checkout phase. This phase involves the full-scale tests of all systems in preparation for beam. Early last Saturday morning, during the ramp-down, ...

Swimming algae offer insights into living fluid dynamics

Mar 27, 2015

None of us would be alive if sperm cells didn't know how to swim, or if the cilia in our lungs couldn't prevent fluid buildup. But we know very little about the dynamics of so-called "living fluids," those ...

Fluctuation X-ray scattering

Mar 26, 2015

In biology, materials science and the energy sciences, structural information provides important insights into the understanding of matter. The link between a structure and its properties can suggest new ...

Hydrodynamics approaches to granular matter

Mar 26, 2015

Sand, rocks, grains, salt or sugar are what physicists call granular media. A better understanding of granular media is important - particularly when mixed with water and air, as it forms the foundations of houses and off-shore ...

User comments : 0

Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.