# XLEAP wiggler displays

## Summary

This repository contains the EDM displays used for the XLEAP wiggler controls.

## Usage

The main display is ``IDSysControl.edl``. It expects a macro ``DEV`` that has the ID prefix.

Scripts are provided to launch the display. The command in the script is of the form:

```
edm -eolc -x -m "DEV=WIGG:LTU1:849" IDSysControl.edl &
```

## Files

The function of each file is:

### AerotechAxisFault.edl

Generic display of Aerotech axis fault status. Shows axis faults for a single
controller axis.

### AerotechAxisStatus.edl

Generic display of Aerotech axis status. Shows axis status signals for a single
controller axis.

### AerotechController.edl

Generic display of Aerotech controller status, including task status. 

### AerotechDIN.edl

Generic display of Aerotech axis digital inputs for a single controller axis.

### IDControl.edl

User version of XLEAP wiggler control display. This display has not been
modified from the original APS version. 

### IDDebug1.edl
### IDDebug2.edl
### IDDebug3.edl

These are the APS-provided debugging displays, providing low-level access to a number of parameters in the IOC.

### IDMotorDebug.edl

This display provides access to the individual motor records.

### IDSetup.edl

This display allows ID operational parameters to be changed, inlcuding encoder offsets and motor speed.

### IDStatus.edl

This display is not used. All relevant information contained on this display is available on other displays.

### IDSysControl.edl

This is the main display used for the XLEAP wiggler control. It is based on the APS-provided display. A number of components have been removed from the original APS display as they are not used for the XLEAP wiggler. Items removed include: linear encoder selection, RSF encoder readout, scanning PVs, links to additional pages related to the APS VME control system.

The following features have been added to this display:

- motor enable/disable
- motor enable status
- link to Asyn record display
- link to Aerotech controller displays
- link to XLEAP limit switch status

### IDdio.edl

This display is not used.

### aerotech_din.edl

This is the generic display for Aerotech digital inputs for a single controller axis.

### motorx_all.edl

This is the standard motor record display.

### xleap_limits.edl

This display shows the XLEAP wiggler limit switch status, including end-of-travel and overtravel limits.

### start_aerotech
### start_op
### start_sys
### start_b34_sys

These scripts start different versions of the display. 

``start_aerotech`` runs the Aerotech controller displays.

``start_op`` runs the user version of the display. This should not be used.

``start_sys`` runs the B81 version of the main XLEAP control display.

`` start_b34_sys`` runs the B34 version of the main XLEAP control display.

