public enum AxisLong extends Enum<AxisLong>
| Enum Constant and Description |
|---|
HARDWARE_CAPTURE
Hardware position, in counts, captured using the INTCAP command.
|
PRIMARY_SETPOINT
Where we're supposed to be, in encoder counts or stepper counts.
|
SOFTWARE_CAPTURE
Hardware position, in counts, captured by setting the Trigger Software Capture bit.
|
| Modifier and Type | Method and Description |
|---|---|
int |
index(AxisName axis)
Gets the controller's index for this parameter for a given axis.
|
String |
reference(AxisName axis)
Gets the AcroBasic string reference for this parameter for a given axis.
|
static AxisLong |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AxisLong[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AxisLong HARDWARE_CAPTURE
public static final AxisLong SOFTWARE_CAPTURE
public static final AxisLong PRIMARY_SETPOINT
public static AxisLong[] values()
for (AxisLong c : AxisLong.values()) System.out.println(c);
public static AxisLong valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int index(AxisName axis)
axis - the axis.Copyright © 2017 LSST. All rights reserved.