public static enum WireScanner.CMD extends java.lang.Enum<WireScanner.CMD>
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.
Enum Constant and Description |
---|
ABORT
Abort the scan (retracts the fork)
|
ACQUIRE
Acquire data
|
BRAKE
Turn the brake on or off (normally done automatically)
|
EZ_SCAN
Performs a (simple) scan using predefined scan parameters within the device controller
|
HIT
Move until a limit switch is hit (takes arguments 1: forward, 0: reverse)
|
MOVE
Move the fork a relative position (in micrometers)
|
NOOP
No operation
|
PARK
Park the fork
|
REANALYZE
Recreate the traces and profile points
and re-fit to the new profiles (needed after
modifying for example the delay parameter).
|
RESET
Readout settings and set hardware
|
SAVE
Locally save data
|
SETUPDAQ
Load the DAQ parameters
|
SETUPSCAN
Load the motion parameters
|
STOP
Stop the scan (keeps fork inserted)
|
UPDATE
Update a particular PV with acquired data or analyzed results.
|
XPRT_SCAN
Start the scan using the scan parameters specified by the user
|
Modifier and Type | Field and Description |
---|---|
static WireScanner.CMD[] |
ARR_CMDARG
A list of commands which may contain arguments
|
static java.lang.String |
HANDLE_CMD
Command-issuing handle
|
static java.lang.String |
HANDLE_RESULT
command result handle
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns the integer-value device command associated with the command enumeration
constant.
|
boolean |
hasArgument()
Indicates whether or not this command can have arguments.
|
static WireScanner.CMD |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WireScanner.CMD[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WireScanner.CMD NOOP
public static final WireScanner.CMD RESET
public static final WireScanner.CMD ABORT
public static final WireScanner.CMD XPRT_SCAN
public static final WireScanner.CMD STOP
public static final WireScanner.CMD PARK
public static final WireScanner.CMD ACQUIRE
public static final WireScanner.CMD MOVE
public static final WireScanner.CMD BRAKE
public static final WireScanner.CMD SETUPSCAN
public static final WireScanner.CMD SETUPDAQ
public static final WireScanner.CMD HIT
public static final WireScanner.CMD SAVE
public static final WireScanner.CMD REANALYZE
public static final WireScanner.CMD UPDATE
public static final WireScanner.CMD EZ_SCAN
public static WireScanner.CMD[] ARR_CMDARG
public static final java.lang.String HANDLE_CMD
public static final java.lang.String HANDLE_RESULT
public static WireScanner.CMD[] values()
for (WireScanner.CMD c : WireScanner.CMD.values()) System.out.println(c);
public static WireScanner.CMD valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
public boolean hasArgument()
true
if this command can have arguments,
false
false otherwise.