Package xal.smf.impl
Class ProfileMonitor
java.lang.Object
xal.smf.AcceleratorNode
xal.smf.impl.ProfileMonitor
- All Implemented Interfaces:
Comparable
,ElementType
,DataListener
Represents the wire scanner device using the original API
- Author:
- tap
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
final AccessibleProperty
static final String
final AccessibleProperty
static final String
final AccessibleProperty
final AccessibleProperty
static final String
static final String
final AccessibleProperty
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
static final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
static final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
static final String
final AccessibleProperty
final AccessibleProperty
static final String
static final String
static final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
static final String
identifies instances of this ProfileMonitor class in contrast to the WireScanner classstatic final String
final AccessibleProperty
static final String
final AccessibleProperty
static final String
software type for the Profile Monitor classstatic final String
final AccessibleProperty
static final String
final AccessibleProperty
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
static final String
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
final AccessibleProperty
-
Constructor Summary
ConstructorsConstructorDescriptionProfileMonitor
(String strId) ConstructorProfileMonitor
(String strId, ChannelFactory channelFactory) Primary Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
connect the d real data streamvoid
connect the d data array []void
connect the d fit array []void
connect the h real data streamvoid
connect the h data array []void
connect the h fit array []void
void
connect the position data array []void
connect the status array []void
connect the v real data streamvoid
connect the v data array []void
connect the v fit array []void
doScan()
tells the wire scanner to actually perform a scandouble
use this to get the d amp fitdouble
use this to get the d amp rmsdouble
use this to get the d area fitdouble
use this to get the d area rmsdouble
getDData()
get the d real data streamdouble[]
get the d data array []double[]
get the d fit array []double
use this to get the d mean fitdouble
use this to get the d mean rmsdouble
use this to get the d offset fitdouble
use this to get the d offset rmsdouble[]
getDPos()
get the array with d (diagonal) positions in mmdouble[]
getDRaw()
get the raw diagonal intensity array [AU]double
use this to get the d sigma fitdouble
use this to get the d sigma rmsdouble
use this to get the d slope fitdouble
use this to get the d slope rmsdouble
use this to get the h amp fitdouble
use this to get the h amp rmsdouble
use this to get the h area fitdouble
use this to get the h area rmsdouble
getHData()
get the h real data streamdouble[]
get the h data array []double[]
get the h fit array []double
use this to get the h mean fitdouble
use this to get the h mean rmsdouble
use this to get the h offset fitdouble
use this to get the h offset rmsdouble[]
getHPos()
get the array with h (horizontal) positions in mmdouble[]
getHRaw()
get the raw horizontal intensity array [AU]double
use this to get the h sigma fitdouble
use this to get the h sigma rmsdouble
use this to get the h slope fitdouble
use this to get the h slope rmsint
use this to get the number of steps of the scandouble
getPos()
use this to get the real time position of the wire [mm]double[]
get the position data array []double
use this to get the length of the scan [mm]Overriden to provide the software typedouble[]
get the status array []getType()
Override to provide type signaturedouble
use this to get the v amp fitdouble
use this to get the v amp rmsdouble
use this to get the v area fitdouble
use this to get the v area rmsdouble
getVData()
get the v real data streamdouble[]
get the v data array []double[]
get the v fit array []double
use this to get the v mean fitdouble
use this to get the v mean rmsdouble
use this to get the v offset fitdouble
use this to get the v offset rmsdouble[]
getVPos()
get the array with v (vertical) positions in mmdouble[]
getVRaw()
get the raw vertical intensity array [AU]double
use this to get the v sigma fitdouble
use this to get the v sigma rmsdouble
use this to get the v slope fitdouble
use this to get the v slope rmsvoid
setBias
(double newBias) Set the bias voltage on the wirevoid
setNAvgPulses
(double startPos) set the starting wire position [mm]void
setNAvgPulses
(int numAvgs) set the number of pulses to average over at each wire positionvoid
setNSteps
(int numSteps) set the number of steps to takevoid
stopScan()
tells the wire scanner to stop a scanvoid
this method updates the horizontal profile polynomial fitted information from the instrumentMethods inherited from class xal.smf.AcceleratorNode
addBucket, 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, 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
-
PROFILE_MONITOR_TYPE
identifies instances of this ProfileMonitor class in contrast to the WireScanner class- See Also:
-
SOFTWARE_TYPE
software type for the Profile Monitor class- See Also:
-
TYPE
- See Also:
-
POS_HANDLE
- See Also:
-
position
-
RT_GRAPH_HANDLE
- See Also:
-
rtGraph
-
ABORT_SCAN_HANDLE
- See Also:
-
abortScan
-
BEGIN_SCAN_HANDLE
- See Also:
-
beginScan
-
CHANGE_PARAMS_HANDLE
- See Also:
-
changeParams
-
ACCEPT_PARAMS_HANDLE
- See Also:
-
acceptParams
-
STAT_ARRAD_HANDLE
- See Also:
-
statusArray
-
VDATA_ARRAD_HANDLE
- See Also:
-
vDataArray
-
DDATA_ARRAD_HANDLE
- See Also:
-
dDataArray
-
HDATA_ARRAD_HANDLE
- See Also:
-
hDataArray
-
POS_ARRAD_HANDLE
- See Also:
-
positionArray
-
STEPS_HANDLE
- See Also:
-
nSteps
-
STEP1_POS_HANDLE
- See Also:
-
step1Pos
-
POS_SPACING_HANDLE
- See Also:
-
posSpacing
-
NO_MEAS_HANDLE
- See Also:
-
noMeas
-
SCAN_LEN_HANDLE
- See Also:
-
scanLength
-
BIAS_HANDLE
- See Also:
-
bias
-
V_AREA_F_HANDLE
- See Also:
-
vAreaF
-
V_AMP_F_HANDLE
- See Also:
-
vAmpF
-
V_MEAN_F_HANDLE
- See Also:
-
vMeanF
-
V_SIGMA_F_HANDLE
- See Also:
-
vSigmaF
-
V_OFFST_F_HANDLE
- See Also:
-
vOffstF
-
V_SLOPE_F_HANDLE
- See Also:
-
vSlopeF
-
V_AREA_M_HANDLE
- See Also:
-
vAreaM
-
V_AMP_M_HANDLE
- See Also:
-
vAmpM
-
V_MEAN_M_HANDLE
- See Also:
-
vMeanM
-
V_SIGMA_M_HANDLE
- See Also:
-
vSigmaM
-
V_OFFST_M_HANDLE
- See Also:
-
vOffstM
-
V_SLOPE_M_HANDLE
- See Also:
-
vSlopeM
-
D_AREA_F_HANDLE
- See Also:
-
dAreaF
-
D_AMP_F_HANDLE
- See Also:
-
dAmpF
-
D_MEAN_F_HANDLE
- See Also:
-
dMeanF
-
D_SIGMA_F_HANDLE
- See Also:
-
dSigmaF
-
D_OFFST_F_HANDLE
- See Also:
-
dOffstF
-
D_SLOPE_F_HANDLE
- See Also:
-
dSlopeF
-
D_AREA_M_HANDLE
- See Also:
-
dAreaM
-
D_AMP_M_HANDLE
- See Also:
-
dAmpM
-
D_MEAN_M_HANDLE
- See Also:
-
dMeanM
-
D_SIGMA_M_HANDLE
- See Also:
-
dSigmaM
-
D_OFFST_M_HANDLE
- See Also:
-
dOffstM
-
D_SLOPE_M_HANDLE
- See Also:
-
dSlopeM
-
H_AREA_F_HANDLE
- See Also:
-
hAreaF
-
H_AMP_F_HANDLE
- See Also:
-
hAmpF
-
H_MEAN_F_HANDLE
- See Also:
-
hMeanF
-
H_SIGMA_F_HANDLE
- See Also:
-
hSigmaF
-
H_OFFST_F_HANDLE
- See Also:
-
hOffstF
-
H_SLOPE_F_HANDLE
- See Also:
-
hSlopeF
-
H_AREA_M_HANDLE
- See Also:
-
hAreaM
-
H_AMP_M_HANDLE
- See Also:
-
hAmpM
-
H_MEAN_M_HANDLE
- See Also:
-
hMeanM
-
H_SIGMA_M_HANDLE
- See Also:
-
hSigmaM
-
H_OFFST_M_HANDLE
- See Also:
-
hOffstM
-
H_SLOPE_M_HANDLE
- See Also:
-
hSlopeM
-
V_FIT_HANDLE
- See Also:
-
vFit
-
D_FIT_HANDLE
- See Also:
-
dFit
-
H_FIT_HANDLE
- See Also:
-
hFit
-
V_POS_HANDLE
- See Also:
-
vPos
-
D_POS_HANDLE
- See Also:
-
dPos
-
H_POS_HANDLE
- See Also:
-
hPos
-
V_RAW_HANDLE
- See Also:
-
vRaw
-
D_RAW_HANDLE
- See Also:
-
dRaw
-
H_RAW_HANDLE
- See Also:
-
hRaw
-
V_REAL_DATA_HANDLE
- See Also:
-
vRealData
-
D_REAL_DATA_HANDLE
- See Also:
-
dRealData
-
H_REAL_DATA_HANDLE
- See Also:
-
hRealData
-
-
Constructor Details
-
ProfileMonitor
Primary Constructor -
ProfileMonitor
Constructor
-
-
Method Details
-
getType
Override to provide type signature- Specified by:
getType
in classAcceleratorNode
-
getSoftType
Overriden to provide the software type- Overrides:
getSoftType
in classAcceleratorNode
-
getVPos
get the array with v (vertical) positions in mm- Throws:
GetException
-
getDPos
get the array with d (diagonal) positions in mm- Throws:
GetException
-
getHPos
get the array with h (horizontal) positions in mm- Throws:
GetException
-
getVRaw
get the raw vertical intensity array [AU]- Throws:
GetException
-
getDRaw
get the raw diagonal intensity array [AU]- Throws:
GetException
-
getHRaw
get the raw horizontal intensity array [AU]- Throws:
GetException
-
setNSteps
set the number of steps to take- Parameters:
numSteps
- = number of Steps to take- Throws:
PutException
-
setNAvgPulses
set the number of pulses to average over at each wire position- Throws:
PutException
-
setNAvgPulses
set the starting wire position [mm]- Throws:
PutException
-
setBias
Set the bias voltage on the wire- Parameters:
newBias
- = bias [volts]- Throws:
PutException
-
getPos
use this to get the real time position of the wire [mm]- Throws:
GetException
-
connectPos
public void connectPos() -
getScanLength
use this to get the length of the scan [mm]- Throws:
GetException
-
getNSteps
use this to get the number of steps of the scan- Throws:
GetException
-
doScan
tells the wire scanner to actually perform a scan- Throws:
PutException
-
stopScan
tells the wire scanner to stop a scan- Throws:
PutException
-
getStatusArray
get the status array []- Throws:
GetException
-
connectStatArray
public void connectStatArray()connect the status array [] -
getVDataArray
get the v data array []- Throws:
GetException
-
connectVDataArray
public void connectVDataArray()connect the v data array [] -
getDDataArray
get the d data array []- Throws:
GetException
-
connectDDataArray
public void connectDDataArray()connect the d data array [] -
getHDataArray
get the h data array []- Throws:
GetException
-
connectHDataArray
public void connectHDataArray()connect the h data array [] -
getPosArray
get the position data array []- Throws:
GetException
-
connectPosArray
public void connectPosArray()connect the position data array [] -
getVFitArray
get the v fit array []- Throws:
GetException
-
connectVFitArray
public void connectVFitArray()connect the v fit array [] -
getDFitArray
get the d fit array []- Throws:
GetException
-
connectDFitArray
public void connectDFitArray()connect the d fit array [] -
getHFitArray
get the h fit array []- Throws:
GetException
-
connectHFitArray
public void connectHFitArray()connect the h fit array [] -
getVAreaF
use this to get the v area fit- Throws:
GetException
-
getDAreaF
use this to get the d area fit- Throws:
GetException
-
getHAreaF
use this to get the h area fit- Throws:
GetException
-
getVAreaM
use this to get the v area rms- Throws:
GetException
-
getDAreaM
use this to get the d area rms- Throws:
GetException
-
getHAreaM
use this to get the h area rms- Throws:
GetException
-
getVSigmaF
use this to get the v sigma fit- Throws:
GetException
-
getDSigmaF
use this to get the d sigma fit- Throws:
GetException
-
getHSigmaF
use this to get the h sigma fit- Throws:
GetException
-
getVSigmaM
use this to get the v sigma rms- Throws:
GetException
-
getDSigmaM
use this to get the d sigma rms- Throws:
GetException
-
getHSigmaM
use this to get the h sigma rms- Throws:
GetException
-
getVAmplF
use this to get the v amp fit- Throws:
GetException
-
getDAmplF
use this to get the d amp fit- Throws:
GetException
-
getHAmplF
use this to get the h amp fit- Throws:
GetException
-
getVAmplM
use this to get the v amp rms- Throws:
GetException
-
getDAmplM
use this to get the d amp rms- Throws:
GetException
-
getHAmplM
use this to get the h amp rms- Throws:
GetException
-
getVMeanF
use this to get the v mean fit- Throws:
GetException
-
getDMeanF
use this to get the d mean fit- Throws:
GetException
-
getHMeanF
use this to get the h mean fit- Throws:
GetException
-
getVMeanM
use this to get the v mean rms- Throws:
GetException
-
getDMeanM
use this to get the d mean rms- Throws:
GetException
-
getHMeanM
use this to get the h mean rms- Throws:
GetException
-
getVOffsetF
use this to get the v offset fit- Throws:
GetException
-
getDOffsetF
use this to get the d offset fit- Throws:
GetException
-
getHOffsetF
use this to get the h offset fit- Throws:
GetException
-
getVOffsetM
use this to get the v offset rms- Throws:
GetException
-
getDOffsetM
use this to get the d offset rms- Throws:
GetException
-
getHOffsetM
use this to get the h offset rms- Throws:
GetException
-
getVSlopeF
use this to get the v slope fit- Throws:
GetException
-
getDSlopeF
use this to get the d slope fit- Throws:
GetException
-
getHSlopeF
use this to get the h slope fit- Throws:
GetException
-
getVSlopeM
use this to get the v slope rms- Throws:
GetException
-
getDSlopeM
use this to get the d slope rms- Throws:
GetException
-
getHSlopeM
use this to get the h slope rms- Throws:
GetException
-
connectVData
public void connectVData()connect the v real data stream -
getVData
get the v real data stream- Throws:
GetException
-
connectDData
public void connectDData()connect the d real data stream -
getDData
get the d real data stream- Throws:
GetException
-
connectHData
public void connectHData()connect the h real data stream -
getHData
get the h real data stream- Throws:
GetException
-
updateFits
public void updateFits()this method updates the horizontal profile polynomial fitted information from the instrument
-