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 StringBPM stage 1 gain channel handlestatic final Stringstatic final StringBPM stage 1 length channel handlestatic final Stringstatic final StringBPM stage 1 method channel handlestatic final Stringfinal AccessiblePropertyfinal AccessiblePropertyfinal AccessiblePropertystatic final StringBPM stage 2 gain channel handlestatic final Stringstatic final StringBPM stage 2 length channel handlestatic final Stringstatic final StringBPM stage 2 method channel handlestatic final Stringfinal AccessiblePropertyfinal AccessiblePropertyfinal AccessiblePropertystatic final Stringstatic final Stringstatic final StringBPM stage 3 length channel handlestatic final Stringstatic final Stringstatic final Stringfinal AccessiblePropertyfinal AccessiblePropertyfinal AccessiblePropertystatic final StringBPM stage 4 gain channel handlestatic final Stringstatic final StringBPM stage 4 length channel handlestatic final Stringstatic final StringBPM stage 4 method channel handlestatic final Stringfinal AccessiblePropertyfinal AccessiblePropertyfinal AccessiblePropertystatic final StringFields 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 TypeMethodDescriptionintreturns stage 1 gainintreturns stage 1 lengthintreturns stage 1 methodintreturns stage 2 gainintreturns stage 2 lengthintreturns stage 2 methodintreturns stage 3 gainintreturns stage 3 lengthintreturns stage 3 methodintreturns stage 4 gainintreturns stage 4 lengthintreturns stage 4 methoddoublegetXAvg(int stage) returns average X position for a certain stagedoublegetYAvg(int stage) returns average Y position for a certain stagevoidsetStage1Gain(long gain) Set the stage 1 gain.voidsetStage1Len(long len) Set the stage 1 length.voidsetStage1Method(int method) Set the stage 1 method.voidsetStage2Gain(long gain) Set the stage 2 gain.voidsetStage2Len(long len) Set the stage 2 length.voidsetStage2Method(int method) Set the stage 2 method.voidsetStage3Gain(long gain) Set the stage 3 gain.voidsetStage3Len(long len) Set the stage 3 length.voidsetStage3Method(int method) Set the stage 3 method.voidsetStage4Gain(long gain) Set the stage 4 gain.voidsetStage4Len(long len) Set the stage 4 length.voidsetStage4Method(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, setBPMBucketMethods 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
-