Package xal.smf.impl

Class WireHarp.DaqConfig

All Implemented Interfaces:
Cloneable, ProfileDevice.IProfileDomain, DataListener
Enclosing class:
WireHarp

public static class WireHarp.DaqConfig extends ParameterSet implements ProfileDevice.IProfileDomain
Class WireHarp.DaqConfig. A data structure containing fields that indicate the status of the data acquisition capabilities. In particular, there are status records for the operation of each wire within each measurement plane (eg., horizontal, vertical, diagonal).

NOTE


· There is a pretty egregious kluge on the attribute DaqConfig.cntWires. The value is hard coded with the constant DaqConfig.CNT_WIRES since there is no way to dynamically acquire this value.
Since:
Apr 11, 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
    • arrPosHor

      @Field(type=double[][].class, ctrl=false, hndRb="DatHorRawPositions") public double[] arrPosHor
      Array of wire positions on the beam axis for the horizontal projection plane.
    • arrPosVer

      @Field(type=double[][].class, ctrl=false, hndRb="DatVerRawPositions") public double[] arrPosVer
      Array of wire positions on the beam axis for the vertical projection plane.
    • arrPosDia

      @Field(type=double[][].class, ctrl=false, hndRb="DatDiaRawPositions") public double[] arrPosDia
      Array of wire positions on the beam axis for the diagonal projection plane.
    • recWiresHor

      @Field(type=int.class, ctrl=false, hndRb="StatRecHorWires") public int recWiresHor
      Bit record indicating operation status for each wire of the horizontal wire set.

          bolStatus = 2n & statWireHor

      where n=0,1,... is the index of the wire.

      Do Not access this field directly!
    • recWiresVer

      @Field(type=long.class, ctrl=false, hndRb="StatRecVerWires") public int recWiresVer
      Bit record indicating operation status for each wire of the vertical wire set.

          bolStatus = 2n & statWireVer

      where n=0,1,... is the index of the wire.

      Do Not access this field directly!
    • recWiresDia

      @Field(type=int.class, ctrl=false, hndRb="StatRecDiaWires") public int recWiresDia
      Bit record indicating operation status for each wire of the diagonal wire set.

          bolStatus = 2n & statWireDia

      where n=0,1,... is the index of the wire.

      Do Not access this field directly!
    • fitTypeCode

      @Field(type=int.class, ctrl=false, hndRb="StatFitType") public int fitTypeCode
      Type code of the current fitting profile
      0 = Super Gaussian
      1 = Super Gaussian × Gaussian
      2 = Super Gaussian + Gaussian
      3 = Super Gaussian × Parabola
  • Constructor Details

    • DaqConfig

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

      public DaqConfig(WireHarp smfHarp) throws ConnectionException, GetException
      Create a new DaqConfig 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