Package xal.smf.impl
Class RingBPM
java.lang.Object
xal.smf.AcceleratorNode
xal.smf.impl.BPM
xal.smf.impl.RingBPM
- All Implemented Interfaces:
Comparable
,ElementType
,DataListener
This class is for SNS Ring BPMs. The Ring BPMs can set up to 4 different
gains within its 1060 waveform points. They also have 2 modes: base-band and
402.5 MHz.
- Author:
- chu
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
BPM stage 1 gain channel handlestatic final String
static final String
BPM stage 1 length channel handlestatic final String
static final String
BPM stage 1 method channel handlestatic final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
static final String
BPM stage 2 gain channel handlestatic final String
static final String
BPM stage 2 length channel handlestatic final String
static final String
BPM stage 2 method channel handlestatic final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
static final String
static final String
static final String
BPM stage 3 length channel handlestatic final String
static final String
static final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
static final String
BPM stage 4 gain channel handlestatic final String
static final String
BPM stage 4 length channel handlestatic final String
static final String
BPM stage 4 method channel handlestatic final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
static final String
Fields inherited from class xal.smf.impl.BPM
AMP_AVG_HANDLE, AMP_TBT_HANDLE, amplitudeAvg, ampTBT, bpmBucket, PHASE_AVG_HANDLE, PHASE_TBT_HANDLE, phaseAvg, phaseTBT, T_AVG_LEN_HANDLE, tAvgLen, X_AVG_HANDLE, X_TBT_HANDLE, xAvg, xTBT, Y_AVG_HANDLE, Y_TBT_HANDLE, yAvg, yTBT
-
Constructor Summary
ConstructorsConstructorDescriptionRingBPM constructor.RingBPM
(String strId, ChannelFactory channelFactory) RingBPM constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
returns stage 1 gainint
returns stage 1 lengthint
returns stage 1 methodint
returns stage 2 gainint
returns stage 2 lengthint
returns stage 2 methodint
returns stage 3 gainint
returns stage 3 lengthint
returns stage 3 methodint
returns stage 4 gainint
returns stage 4 lengthint
returns stage 4 methoddouble
getXAvg
(int stage) returns average X position for a certain stagedouble
getYAvg
(int stage) returns average Y position for a certain stagevoid
setStage1Gain
(long gain) Set the stage 1 gain.void
setStage1Len
(long len) Set the stage 1 length.void
setStage1Method
(int method) Set the stage 1 method.void
setStage2Gain
(long gain) Set the stage 2 gain.void
setStage2Len
(long len) Set the stage 2 length.void
setStage2Method
(int method) Set the stage 2 method.void
setStage3Gain
(long gain) Set the stage 3 gain.void
setStage3Len
(long len) Set the stage 3 length.void
setStage3Method
(int method) Set the stage 3 method.void
setStage4Gain
(long gain) Set the stage 4 gain.void
setStage4Len
(long len) Set the stage 4 length.void
setStage4Method
(int method) Set the stage 4 method.Methods inherited from class xal.smf.impl.BPM
addBucket, getAmpAvg, getAmpTBT, getBPMBucket, getPhaseAvg, getPhaseTBT, getTAvgLen, getType, getXAvg, getXTBT, getYAvg, getYTBT, setBPMBucket
Methods inherited from class xal.smf.AcceleratorNode
batchConnectAllHandles, batchConnectAllHandlesAndWait, channelSuite, clear, compareTo, dataLabel, findChannel, getAccelerator, getAccessibleProperties, getAccessibleProperties, getAlign, getAllChannels, getAndConnectChannel, getAndConnectChannelSetAndReadback, getAper, getBucket, getBuckets, getChannel, getDefaultHandles, getDesignPropertyValue, getEId, getHandles, getId, getLength, getLivePropertyChannels, getLivePropertyValue, getParent, getPId, getPitchAngle, getPosition, getPrimaryAncestor, getProperties, getReadbackHandles, getRollAngle, getSDisplay, getSetHandle, getSoftType, getStatus, getTwiss, getValid, getXOffset, getYawAngle, getYOffset, getZOffset, hasBucket, hasParent, isChannelSettable, isKindOf, isMagnet, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setDesignPropertyValue, setLength, setLivePropertyValue, setParent, setPitchAngle, setPosition, setRollAngle, setSDisplay, setStatus, setTwiss, setValid, setValueAndVerify, setXOffset, setYawAngle, setYOffset, setZOffset, toString, update, write, writeAttributes, writeStatus
-
Field Details
-
TYPE
- See Also:
-
STAGE1_LEN_HANDLE
BPM stage 1 length channel handle- See Also:
-
STAGE1_LEN_RB_HANDLE
- See Also:
-
stage1Len
-
STAGE1_GAIN_HANDLE
BPM stage 1 gain channel handle- See Also:
-
STAGE1_GAIN_RB_HANDLE
- See Also:
-
stage1Gain
-
STAGE1_METHOD_HANDLE
BPM stage 1 method channel handle- See Also:
-
STAGE1_METHOD_RB_HANDLE
- See Also:
-
stage1Method
-
STAGE2_LEN_HANDLE
BPM stage 2 length channel handle- See Also:
-
STAGE2_LEN_RB_HANDLE
- See Also:
-
stage2Len
-
STAGE2_GAIN_HANDLE
BPM stage 2 gain channel handle- See Also:
-
STAGE2_GAIN_RB_HANDLE
- See Also:
-
stage2Gain
-
STAGE2_METHOD_HANDLE
BPM stage 2 method channel handle- See Also:
-
STAGE2_METHOD_RB_HANDLE
- See Also:
-
stage2Method
-
STAGE3_LEN_HANDLE
BPM stage 3 length channel handle- See Also:
-
STAGE3_LEN_RB_HANDLE
- See Also:
-
stage3Len
-
STAGE3_GAIN_HANDLE
- See Also:
-
STAGE3_GAIN_RB_HANDLE
- See Also:
-
stage3Gain
-
STAGE3_METHOD_HANDLE
- See Also:
-
STAGE3_METHOD_RB_HANDLE
- See Also:
-
stage3Method
-
STAGE4_LEN_HANDLE
BPM stage 4 length channel handle- See Also:
-
STAGE4_LEN_RB_HANDLE
- See Also:
-
stage4Len
-
STAGE4_GAIN_HANDLE
BPM stage 4 gain channel handle- See Also:
-
STAGE4_GAIN_RB_HANDLE
- See Also:
-
stage4Gain
-
STAGE4_METHOD_HANDLE
BPM stage 4 method channel handle- See Also:
-
STAGE4_METHOD_RB_HANDLE
- See Also:
-
stage4Method
-
-
Constructor Details
-
RingBPM
RingBPM constructor. -
RingBPM
RingBPM constructor.
-
-
Method Details
-
getStage1Len
returns stage 1 length- Throws:
GetException
-
getStage1Gain
returns stage 1 gain- Throws:
GetException
-
getStage1Method
returns stage 1 method- Throws:
GetException
-
getStage2Len
returns stage 2 length- Throws:
GetException
-
getStage2Gain
returns stage 2 gain- Throws:
GetException
-
getStage2Method
returns stage 2 method- Throws:
GetException
-
getStage3Len
returns stage 3 length- Throws:
GetException
-
getStage3Gain
returns stage 3 gain- Throws:
GetException
-
getStage3Method
returns stage 3 method- Throws:
GetException
-
getStage4Len
returns stage 4 length- Throws:
GetException
-
getStage4Gain
returns stage 4 gain- Throws:
GetException
-
getStage4Method
returns stage 4 method- Throws:
GetException
-
setStage1Len
Set the stage 1 length.- Parameters:
len
- The stage length- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage2Len
Set the stage 2 length.- Parameters:
len
- The stage length- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage3Len
Set the stage 3 length.- Parameters:
len
- The stage length- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage4Len
Set the stage 4 length.- Parameters:
len
- The stage length- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage1Gain
Set the stage 1 gain.- Parameters:
gain
- The stage gain- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage2Gain
Set the stage 2 gain.- Parameters:
gain
- The stage gain- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage3Gain
Set the stage 3 gain.- Parameters:
gain
- The stage gain- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage4Gain
Set the stage 4 gain.- Parameters:
gain
- The stage gain- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage1Method
Set the stage 1 method.- Parameters:
method
- The stage method- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage2Method
Set the stage 2 method.- Parameters:
method
- The stage method- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage3Method
Set the stage 3 method.- Parameters:
method
- The stage method- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
setStage4Method
Set the stage 4 method.- Parameters:
method
- The stage method- Throws:
ConnectionException
- if the put channel cannot be connectedPutException
- if the put channel set action fails
-
getXAvg
returns average X position for a certain stage- Parameters:
stage
- stage number- Throws:
GetException
-
getYAvg
returns average Y position for a certain stage- Parameters:
stage
- stage number- Throws:
GetException
-