|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PilarDriver
This interface describes a translation layer from TelescopeCommands
to TCS commands. It defines all necessarry methods that allow the
TelescopeMaster to communicate to the telescope. The interface
definitions are closely bound to the SCS command structure and support only a
subset of available TCS structures. All methods return true if successful.
| Method Summary | |
|---|---|
boolean |
commenceClear()
Clears all errors the telescope. |
boolean |
commenceSetCovers(boolean close)
Sets the position of the mirror covers. |
boolean |
commenceUsePort(int portnumber)
Uses the specified port, i.e. |
Collection<TsiError> |
getErrors()
Gets the current errors at the telescope. |
Object |
getValue(String name)
Synchroniously return a value of a variable. |
void |
rebuild()
Rebuild the error data base like on a restart. |
boolean |
setValue(String name,
String to)
Synchroniously return a value of a variable. |
boolean |
waitForValue(String variable,
String value,
String notvalue,
long timeout)
Waits for a parameter to achieve a certain value. |
| Methods inherited from interface stella.telescope.TelescopeDriver |
|---|
commenceAbort, commenceAbsoluteOffset, commenceAbsoluteOffset, commenceDerotator, commenceDerotatorOffset, commenceFocus, commenceFocusOffset, commenceGuiding, commenceInit, commenceMove, commenceMove, commenceMoveAzAlt, commencePark, commenceRelativeOffset, commenceRelativeOffset, commenceTracking |
| Methods inherited from interface io.Driver |
|---|
close, getDriverName, isOpen, open |
| Methods inherited from interface stella.ParameterDepending |
|---|
registerParameter |
| Method Detail |
|---|
Object getValue(String name)
throws IOException,
TsiTimeoutException
IOException
TsiTimeoutException
boolean setValue(String name,
String to)
throws IOException,
TsiTimeoutException
IOException
TsiTimeoutException
boolean waitForValue(String variable,
String value,
String notvalue,
long timeout)
throws TsiTimeoutException,
IOException
variable - TSI parameter to query.value - True value if given.notvalue - False value if given.timeout - Maximum block time in ms.
TsiTimeoutException
IOException
void rebuild()
throws IOException,
TsiTimeoutException
IOException
TsiTimeoutException
Collection<TsiError> getErrors()
throws IOException,
TsiTimeoutException
IOException
TsiTimeoutException
boolean commenceSetCovers(boolean close)
throws IOException,
TsiTimeoutException
close - true for closeing, false for opening.
IOException
TsiTimeoutException
boolean commenceClear()
throws IOException,
TsiTimeoutException
IOException
TsiTimeoutException
boolean commenceUsePort(int portnumber)
throws IOException,
TsiTimeoutException
portnumber - Implementation specific configuration index.
IOException
TsiTimeoutException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||