{'fraction_non_alphanumeric': 0.021739130434782608, 'fraction_numerical': 0.0, 'mean_word_length': 4.93298969072165, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A control system upgrade of the spear synchrotron and injector

The SPEAR electron synchrotron is an old and venerable facility with a history of great physics. When this storage ring was converted to serve as a full-time synchrotron light source, it was evident that the facility was due for an overhaul of its control system. Outdated hardware interfaces, custom operator interfaces, and the control computer itself were replaced with off-the-shelf distributed intelligent controllers and networked X-workstations. However, almost all applications and control functions were retained by simply rewriting the layer of software closest to each new device. The success of this upgrade prompted us to do a similar upgrade of our Injector system. Although the Injector was already running an X-windows based control system, it was non-networked and Q-bus based. By using the same Ethernet based controllers that were used at SPEAR, we were able to integrate the two systems into one that resembles the ``standard model`` for control systems, and at the same time preserve the applications software that has been developed over the years on both systems.