public interface MultiAxes extends Driver
This interface allows very basic access only. No axis-stop or concurrent setting of positions is possible.
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_INITZERO
If true, we move to the zero position on init.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAxesNames()
Gets the names of the available axes.
|
int |
getMaxPosition(String axis)
Returns the maximum available position for the given axis.
|
int |
getMaxStep(String axis)
Returns the maximal steps this axis can travel.
|
int |
getPosition(String axis)
Returns the current position of the spinning driver.
|
int |
getStep(String axis)
Returns the currently attained step position via a direct query to the
underlying driver.
|
boolean |
isContinuous(String axis)
Returns true, if this axis can be continuousely offset, which is likely
the case for rotary stagets, and never the case for linear stages.
|
boolean |
offset(String axis,
int steps)
Offsets the filter wheel for the specified number of steps.
|
boolean |
setPosition(String axis,
int nr)
Sets a position on the driver.
|
boolean |
setZeroPosition(String axis)
Calling this method should ensure that the stated axis is in a
well-defined
state.
|
close, getDriverName, isOpen, openinitstatic final String KEY_INITZERO
Collection<String> getAxesNames()
boolean setZeroPosition(String axis) throws IOException
axis - The name of the axis to be zero-setted.IOException - If driver communication failed.int getMaxPosition(String axis) throws IOException
axis - String representing the selected axis.IOExceptionint getMaxStep(String axis) throws IOException
getMaxPosition(java.lang.String) to estimate the number of steps per position.IOExceptionint getStep(String axis) throws IOException
IOExceptionint getPosition(String axis) throws IOException
axis - The name of the axis to be zero-setted.IOException - If driver communication failed.boolean setPosition(String axis, int nr) throws IOException
axis - The name of the axis to be zero-setted.nr - The numbered position to be attained.IOException - If driver communication failed.boolean offset(String axis, int steps) throws IOException
axis - The name of the axis to be zero-setted.steps - The number of step, positiv or negative in
driver-specific coordinates.IOException - If driver communication failed.boolean isContinuous(String axis) throws IOException
IOException