Package xal.smf.impl
Enum Class WireScanner.CMD
- All Implemented Interfaces:
Serializable
,Comparable<WireScanner.CMD>
,Constable
- Enclosing class:
- WireScanner
Wire Scanner Commands
The commands below represent the possible values for the first argument in the command array. It provides the command type while additional arguments provide the command parameters.
- Since:
- Aug 21, 2009
- Author:
- Christopher K. Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbort the scan (retracts the fork)Acquire dataTurn the brake on or off (normally done automatically)Performs a (simple) scan using predefined scan parameters within the device controllerMove until a limit switch is hit (takes arguments 1: forward, 0: reverse)Move the fork a relative position (in micrometers)No operationPark the forkRecreate the traces and profile points and re-fit to the new profiles (needed after modifying for example the delay parameter).Readout settings and set hardwareLocally save dataLoad the DAQ parametersLoad the motion parametersStop the scan (keeps fork inserted)Update a particular PV with acquired data or analyzed results.Start the scan using the scan parameters specified by the user -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AccessibleProperty
final AccessibleProperty
static final String
Command-issuing handlestatic final String
command result handle -
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
Returns the integer-value device command associated with the command enumeration constant.boolean
Indicates whether or not this command can have arguments.static WireScanner.CMD
Returns the enum constant of this class with the specified name.static WireScanner.CMD[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOOP
No operation -
RESET
Readout settings and set hardware -
ABORT
Abort the scan (retracts the fork) -
XPRT_SCAN
Start the scan using the scan parameters specified by the user -
STOP
Stop the scan (keeps fork inserted) -
PARK
Park the fork -
ACQUIRE
Acquire data -
MOVE
Move the fork a relative position (in micrometers) -
BRAKE
Turn the brake on or off (normally done automatically) -
SETUPSCAN
Load the motion parameters -
SETUPDAQ
Load the DAQ parameters -
HIT
Move until a limit switch is hit (takes arguments 1: forward, 0: reverse) -
SAVE
Locally save data -
REANALYZE
Recreate the traces and profile points and re-fit to the new profiles (needed after modifying for example the delay parameter). -
UPDATE
Update a particular PV with acquired data or analyzed results. -
EZ_SCAN
Performs a (simple) scan using predefined scan parameters within the device controller
-
-
Field Details
-
HANDLE_CMD
Command-issuing handle- See Also:
-
command
-
HANDLE_RESULT
command result handle- See Also:
-
cmdResult
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()Returns the integer-value device command associated with the command enumeration constant.- Returns:
- device command for constant
- Since:
- Aug 21, 2009
-
hasArgument
public boolean hasArgument()Indicates whether or not this command can have arguments.- Returns:
true
if this command can have arguments,false
false otherwise.- Since:
- May 21, 2010
-