Abstract:
There are hundreds of electric power supplies and radio frequency equipment in the accelerator of CSNS. Operations of these devices are executed through twenty-odd operator interfaces, which are time-consuming and cumbersome. During these processes, breakdowns are easy to occur but difficult to debug. To simplify the machine operation process, a one-key-on/off-operation program is developed. This program integrates the twenty-odd operator interfaces into a single one. The switch on/off operation of every device is realized in a thread, and the program completes the operation of all the devices concurrently. This program accomplishes the machine snapshot save/restore and the switch on/off operation of all the electric power supplies and radio frequency equipment through a one-button operation in the operator interface. With this program, the time needed to switch on/off all the devices in the machine is reduced from forty minutes to about two minutes. This program could be applied to other facilities.