You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Introduction

This is the first ECS PD newsletter. Hopefully we start putting these out on a monthly basis to take stock of the improvements and work we're doing, and let the rest of LCLS know what new things are available from ECS!

Imaging Systems

Fixed server configuration issues that caused the network interface on the camera servers to periodically reset, disrupting data collection and often worse.

PMPS

Squashed a bug related to how the photon energy bitmask is generated to make things more failsafe.

An initialization bug for the preemptive PMPS persists, PAMMs should continue to include a cycle of the Arbiter PLC, although not strictly necessary.

Work began on a batch of PMPS UI improvements including date and time overrides, a more streamlined UI arrangement, bigger windows for faults and requests, among many other things.

After some apparent inconsistencies with veto logic, a deep review of a majority of PLC veto logic was conducted to ensure the PMPS would produce faults only when necessary, and not when an obvious veto device should be keeping things safe. 

Improperly latching "BPTM timeout" faults have been resolved and will no longer prevent beam seemingly at random.

Gas and Vacuum Systems

Hutch Python

Fixed bugs:

  • Fixed lxt_ttc oddities
  • Fixed synchronized axis support in general
  • Fixed issue where DAQ would disconnect itself after a scan in some scenarios
  • Fixed various malformed status printouts
  • Fixed malformed metadata from Newport motors and from derived unit conversion signals

Added new tools:

  • InterfaceDevice, InterfaceComponent, and ObjectComponent can be used to use fully instantiated ophyd devices as components in other ophyd devices, rather than needing to duplicate their constructors.
  • FuncPositioner can be used to similar effect as the legacy python 2 VirtualMotor support
  • SyncAxis class as a replacement to the deprecated SyncAxesBase class with a more solid foundation and some extra features

And also added several many new devices for LCLS-II!

UI/UX

  • Added missing soft limit configuration to typhos expert screens

X-ray Optics

March began with some PMPS hacks to protect mirror coatings as the undulators and operators continue to impress us all with increasing beam power. These hacks were formalized in a subsequent upgrade that added state-based control to the mirror vertical axes, and the full PMPS integration (on the L line only). 

XRT Mirrors M1, M2 and  M3 are now connected to the PMPS arbiter and coating protection is now active.

XRT M1 (MR1L2) Upgrade

SP1K1-g_pi Support in the DAQ

LCLS-II DAQ support has been added for SP1K1's grating pitch! This works up to 120Hz and involves triggering the motion PLC directly to get encoder counts out and sent directly to the DAQ. This can feasibly be re-used to get any values we'd like from the PLC to the DAQ directly. The values are timed into the DAQ using an EVR.

Monochromator to RIX Commissioning

Grafana, Logging, Alerting

  • EPICS Archiver data source now allows for alerting, thanks to an ongoing fruitful collaboration with KEK, the Japanese High Energy Accelerator Research Organization.
  • A new PLC logging daemon ("ads-log-daemon") was installed to automatically stream logs from any PLC configured on the network.
    • Due to limitations of Beckhoff hardware, the previous configuration did not catch all messages coming from PLCs.
    • This new daemon hooks into the same system that TwinCAT XAE does, and therefore should be able to catch all messages from PLCs - even without a valid TF6310 TCP/IP license installed.
  • A beta-level data source was added to log full IOC output in Grafana.
    • The current (stable) data source only accepts EPICS errLog messages, which not all IOC authors may be using.
    • Due to the extreme amount of log messages generated (>100 million per week), some pre-filtering is required, which will take time to perfect.
  • EPICS Archiver Appliance statistics are now being tracked and monitored.

Double3 Robot

Kaneda, our trusty ears and eyes in the NEH, now roams the halls freely (with supervision). Let the robot revolution commence. Login and access guidance can be found here. More robots following soon in other LCLS areas. Drive safe, have fun!

FIM Commissioning

The first FIM commissioning shift was conducted successfully this month.     Once timed in, we started getting good beam signals on all the wave8 channels.     Tests were done w/ both LCLS1 and LCLS2 timing and some lessons were learned re which registers contribute to the timing delay for LCLS1 vs LCLS2.    There were also some issues w/ firmware or timing signals freezing where we needed to reset the timing.    Will continue to look into this.    We'll also be looking to do some improvements to integrate the FIM screens into TMO home and to provide some FIM specific aliases for Wave8 PVs which are of special significance for the FIM.

Jira and Issue Reporting

ECS Platform Dev began exploring the use of Jira as our future ticketing system. We developed an embedded form for submitting issues to our Jira backlog, which can be found in various confluence locations. The goal is to make a very simple and easy process for people to request help from ECS PD. Ultimately we are looking to embed this process directly into our GUI so control system users can effortlessly report an issue, and provide all the helpful context we need to troubleshoot issues. An additional goal is visualizing the ECS PD work queue. Using Jira we can easily embed our backlog in confluence so anyone can see where their ticket is in the queue and lobby to change priority if needed. So far, our backlog is filling up with tasks from the XBD team as well as our own work. The next step will be to really apply Agile processes to organizing and prioritizing our work items.

MEC-U CD-1

MEC-U successfully passed CDR review on March. It is a critical milestone achievement for the MEC-U project.  Next goal for ECS is to get controls WBS, WBS dictionary, and EOB ready for Director's review and Independent cost review. 

L2SI project 

For March we closed these activities. Congratulations to task owners! 

EPICS: Engineering and Design for FEE lockup

EASE: Engineering and Design for Component Assembly

Exit Slit: Engineering and Design for Assembly

We will get back to TMO DREAM starting April.  Near-term goal is to complete final design of 80% of the DREAM control systems. Long-term goal is to get ready for installation by April 2022.

EPICS alerting with Grafana

Grafana, a dashboard and data visualization tool, is now equipped to monitor EPICS PVs and send alerts via Slack. Instructions to set up alerts can be found here: How to set up EPICS notifications using Grafana.

  • No labels