|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Positioning
A spinning driver allows to attain a numbered position. 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 is a convenience extension to multiaxis for drivers that control a single axis only.
| Field Summary |
|---|
| Fields inherited from interface stella.omc.MultiAxes |
|---|
KEY_INITZERO |
| Method Summary | |
|---|---|
int |
getMaxPosition()
Returns the maximum available position for the given axis. |
int |
getPosition()
Returns the current position of the spinning driver. |
boolean |
offset(int steps)
Offsets the filter wheel for the specified number of steps. |
boolean |
setPosition(int nr)
Sets a position on the driver. |
boolean |
setZeroPosition()
Calling this method should ensure that the driver is in a well-defined state. |
| Methods inherited from interface stella.omc.MultiAxes |
|---|
getAxesNames, getMaxPosition, getMaxStep, getPosition, getStep, isContinuous, offset, setPosition, setZeroPosition |
| Methods inherited from interface io.Driver |
|---|
close, getDriverName, isOpen, open |
| Method Detail |
|---|
boolean setZeroPosition()
throws IOException
IOException - If driver communication failed.
int getMaxPosition()
throws IOException
axis - String representing the selected axis.
IOException
int getPosition()
throws IOException
IOException - If driver communication failed.
boolean setPosition(int nr)
throws IOException
IOException - If driver communication failed.
boolean offset(int steps)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||