Skip to content

EMU: Changes to Danfysik OPI & IOC #5042

@kjwoodsISIS

Description

@kjwoodsISIS

As a muon scientist, I need some changes to the existing Danfysik OPI & IOC for operation on EMU.

Acceptance Criteria

  1. The OPI should display the magnet name in its title field.
  2. The OPI could display a DAC1 Slew field:
    1. If the DAC1 Slew feature is present in hardware, the DAC1 Slew field should be displayed and active
    2. If the DAC1 Slew feature is not present in hardware, the DAC1 Slew field should not be displayed and should be inactive
  3. The OPI Off button should invoke the Danfysik's "sweep to zero and turn off" feature
  4. The OPI should provide an Auto On/Off feature:
    1. If the user sets the field to zero:
      1. If the PSU is powered on and Auto Off is selected, the Danfysik should be powered off (via the "sweep to zero and turn off" feature).
      2. Otherwise, do nothing.
    2. If the user sets the field to a non-zero value:
      1. If the PSU is powered off and Auto On is selected, the Danfysik should be powered on and the voltage & current increased to generate the desired field.
      2. Otherwise, do nothing.
  5. The Danfysik OPI for EMU contains the following fields
    1. magnetic field set-point
    2. magnetic field set-point readback
    3. magnetic field read-back (i.e. "field now")
  6. The units of the magnetic field are in Gauss
  7. The OPI should display a "Field Ready" LED to show the status of the magnetic field:
    1. the LED should be OFF when the magnetic field is ramping.
    2. the LED should be ON when the magnetic field has reached its set-point.
  8. The OPI should display a "progress bar" to show the field as a % of full-scale (see notes below).
  9. The OPI should provide a remote/local toggle to switch between remote & local modes of operation.
  10. The OPI should provide a STOP button:
    1. On pressing the STOP button, the IOC should immediately "sweep to zero and turn off" the PSU (see notes below).

Notes

  1. The OPI needs to display the same information as the existing Longitudinal field (Danfysik) VI.
  2. The existing Danfysik VI is located here: C:\LabVIEW Modules\Muon Magnets\Danfysik\danfysik controller.vi
  3. the screenshot below shows the current VI (danfysik controller.vi)
    Danfysik_Controller_VI
  4. The current/voltage gauges on the VI do not need to be reproduced on the OPI.
  5. In SECI, the calibration defining the relation between current and magnetic field is defined in the magnet.ini file.
  6. In SECI, the value of full-scale is set in the magnet.ini file. In IBEX, it could be set as a macro.
  7. The Auto On/Off control need not be a check-box (as used in the VI) - a check-box is ambiguous in this context. An alternative choice of control could be clearer.
  8. Need to determine what the STOP button in the VI does. The IOC should do the same thing.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions