|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultiAxes
A driver that allows to attain numbered position on different axes. This position can be set and queried with the supplied methods. Additionally, it is able to attain a zero position, which is not necessariliy the position 0, but indicates some reset-marker.
This interface allows very basic access only. No axis-stop or concurrent setting of positions is possible.
| Field Summary | |
|---|---|
static String |
KEY_INITZERO
If true, we move to the zero position on init. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface io.Driver |
|---|
close, getDriverName, isOpen, open |
| Field Detail |
|---|
static final String KEY_INITZERO
| Method Detail |
|---|
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.
IOException
int getMaxStep(String axis)
throws IOException
getMaxPosition(java.lang.String) to estimate the number of steps per position.
IOException
int getStep(String axis)
throws IOException
IOException
int 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||