Package xal.smf
Class TimingCenter
java.lang.Object
xal.smf.TimingCenter
- All Implemented Interfaces:
DataListener
TimingCenter holds the timing channels for the accelerator.
- Author:
- tap
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enumeration of the possible values of the Beam Model process variable. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Active Flavorstatic final String
CKA 11/04/11: Beam mode specifying maximum pulse length.static final String
beam on event counterstatic final String
beam on eventstatic final String
beam reference gate width (Turns)protected ChannelSuite
channel suite associated with this nodestatic final String
actual chopper beam on (Turns)static final String
actual chopper delay (Turns)static final String
readback while triggered beam pulses are counting downstatic final String
specify how many beam pulse(s)static final String
static final String
diagnostic demand event counterstatic final String
diagnostic demand eventstatic final String
fast (6 Hz) diagnostic event counterstatic final String
fast (6 Hz) diagnostic eventstatic final String
Machine Modestatic final String
beam trigger mode PV: 0=Continuous, 1=Single-shotstatic final String
readback of overall rep rate (Hz)static final String
Ring Energystatic final String
readback of the ring frequency in MHzstatic final String
number of stored turns in the ringstatic final String
slow (1 Hz) diagnostic event counterstatic final String
slow (1 Hz) diagnostic eventstatic final String
beam trigger PV: 0=Trigger, 1=Counting -
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty TimingCenterTimingCenter
(ChannelFactory channelFactory) Create an empty TimingCenter -
Method Summary
Modifier and TypeMethodDescriptiondataLabel() provides the name used to identify the class in an external data source.findChannel
(String handle) Find the channel for the specified handle.getAndConnectChannel
(String handle) Get the channel corresponding to the specified handle and connect it.getChannel
(String handle) Get the Channel of this timing center, for the specified channel handle.Get this timing center's channel suitestatic TimingCenter
Get the default TimingCenter corresponding to the user's default main optics sourceaccessor to channel suite handlesvoid
update
(DataAdaptor adaptor) Update the data based on the information provided by the data provider.void
write
(DataAdaptor adaptor) Write data to the data adaptor for storage.
-
Field Details
-
DATA_LABEL
- See Also:
-
channelSuite
channel suite associated with this node -
TRIGGER_HANDLE
beam trigger PV: 0=Trigger, 1=Counting- See Also:
-
MODE_HANDLE
beam trigger mode PV: 0=Continuous, 1=Single-shot- See Also:
-
COUNTDOWN_HANDLE
specify how many beam pulse(s)- See Also:
-
COUNT_HANDLE
readback while triggered beam pulses are counting down- See Also:
-
REP_RATE_HANDLE
readback of overall rep rate (Hz)- See Also:
-
BEAM_ON_EVENT_HANDLE
beam on event- See Also:
-
BEAM_ON_EVENT_COUNT_HANDLE
beam on event counter- See Also:
-
DIAGNOSTIC_DEMAND_EVENT_HANDLE
diagnostic demand event- See Also:
-
DIAGNOSTIC_DEMAND_EVENT_COUNT_HANDLE
diagnostic demand event counter- See Also:
-
SLOW_DIAGNOSTIC_EVENT_HANDLE
slow (1 Hz) diagnostic event- See Also:
-
SLOW_DIAGNOSTIC_EVENT_COUNT_HANDLE
slow (1 Hz) diagnostic event counter- See Also:
-
FAST_DIAGNOSTIC_EVENT_HANDLE
fast (6 Hz) diagnostic event- See Also:
-
FAST_DIAGNOSTIC_EVENT_COUNT_HANDLE
fast (6 Hz) diagnostic event counter- See Also:
-
RING_FREQUENCY_HANDLE
readback of the ring frequency in MHz- See Also:
-
RING_STORED_TURNS_HANDLE
number of stored turns in the ring- See Also:
-
MACHINE_MODE_HANDLE
Machine Mode- See Also:
-
RING_ENERGY
Ring Energy- See Also:
-
BEAM_MODE_HANDLE
CKA 11/04/11: Beam mode specifying maximum pulse length.
String values:
"Off",
"Standby",
"MPS Test",
"10 uSec",
"50 uSec",
"100 uSec",
"1 mSec",
"Full Power",
"Unknown!"- See Also:
-
ACTIVE_FLAVOR_HANDLE
Active Flavor- See Also:
-
BEAM_REFERENCE_GATE_WIDTH
beam reference gate width (Turns)- See Also:
-
CHOPPER_DELAY
actual chopper delay (Turns)- See Also:
-
CHOPPER_BEAM_ON
actual chopper beam on (Turns)- See Also:
-
-
Constructor Details
-
TimingCenter
Create an empty TimingCenter -
TimingCenter
public TimingCenter()Create an empty TimingCenter
-
-
Method Details
-
getDefaultTimingCenter
Get the default TimingCenter corresponding to the user's default main optics source- Returns:
- the default TimingCenter or null if no default has been specified
- Throws:
ExceptionWrapper
- if an exception occurs while parsing the data source
-
dataLabel
dataLabel() provides the name used to identify the class in an external data source.- Specified by:
dataLabel
in interfaceDataListener
- Returns:
- a tag that identifies the receiver's type
-
update
Update the data based on the information provided by the data provider.- Specified by:
update
in interfaceDataListener
- Parameters:
adaptor
- The adaptor from which to update the data
-
write
Write data to the data adaptor for storage.- Specified by:
write
in interfaceDataListener
- Parameters:
adaptor
- The adaptor to which the receiver's data is written
-
getChannelSuite
Get this timing center's channel suite- Returns:
- this timing center's channel suite
-
getHandles
accessor to channel suite handles -
findChannel
Find the channel for the specified handle.- Parameters:
handle
- The handle for the channel to get.- Returns:
- The channel for the specified handle or null if there is no match.
-
getChannel
Get the Channel of this timing center, for the specified channel handle.- Parameters:
handle
- The handle to the desired channel stored in the channel suite- Throws:
NoSuchChannelException
-
getAndConnectChannel
public Channel getAndConnectChannel(String handle) throws NoSuchChannelException, ConnectionException Get the channel corresponding to the specified handle and connect it.- Parameters:
handle
- The handle for the channel to get.- Returns:
- The channel associated with this node and the specified handle or null if there is no match.
- Throws:
NoSuchChannelException
- if no such channel as specified by the handle is associated with this node.ConnectionException
- if the channel cannot be connected
-