Package xal.smf.impl

Class WireHarp.DevStatus

All Implemented Interfaces:
Cloneable, DataListener
Enclosing class:
WireHarp

public static class WireHarp.DevStatus extends ParameterSet
Contains device status parameters.
Since:
Mar 20, 2014
Author:
Christopher K. Allen
  • Field Details

    • FLD_MAP

      public static final ScadaFieldMap FLD_MAP
      Map of field names to field SCADA descriptors for this structure
    • statDev

      @Field(type=int.class, ctrl=false, hndRb="StatDevStatus") public int statDev
      Alarm flag for wire signal; it indicates correct operations.

      status: 0=OK, 1=Saturated
    • statMps

      @Field(type=int.class, ctrl=false, hndRb="StatMpsStatus") public int statMps
      Machine Protection System status flag
    • statCtrl

      @Field(type=int.class, ctrl=false, hndRb="StatCtrlStatus") public int statCtrl
      Manual control status indicator
    • hrpIns

      @Field(type=int.class, ctrl=false, hndRb="StatHarpInsert") public int hrpIns
      Flag indicating harp is inserted
    • hrpRetr

      @Field(type=int.class, ctrl=false, hndRb="StatHarpRetract") public int hrpRetr
      Flag indicating harp is retracted
    • hrpStop

      @Field(type=int.class, ctrl=false, hndRb="StatHarpStop") public int hrpStop
      Flag indicating harp is stopped
    • cmdResult

      @Field(type=int.class, ctrl=false, hndRb="StatCmdResult") public int cmdResult
      Result code of the latest harp user command.
  • Constructor Details

    • DevStatus

      public DevStatus()
      Create a new DevStatus object.
      Since:
      Jan 21, 2010
    • DevStatus

      public DevStatus(WireHarp smfHarp) throws ConnectionException, GetException
      Create a new DevStatus object containing the status information of the given device.
      Parameters:
      smfHarp - wire harp device under query
      Throws:
      ConnectionException - unable to connect parameter read back channel
      GetException - general field initialization exception
      Since:
      Jan 21, 2010
  • Method Details

    • acquire

      public static WireHarp.DevStatus acquire(WireHarp smfHarp) throws ConnectionException, GetException
      Convenience method for retrieving a new initialized data structure populated from the given device state.
      Parameters:
      smfHarp - data acquisition device
      Returns:
      current set of device status parameters
      Throws:
      ConnectionException - unable to connect parameter read back channel
      GetException - general field initialization exception
      Since:
      Mar 20, 2014