public interface PilarDriver extends TelescopeDriver, ParameterDepending
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.| Modifier and Type | Method and Description |
|---|---|
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.
|
commenceAbort, commenceInit, commenceParkclose, getDriverName, isOpen, openinitcommenceDerotator, commenceDerotatorOffsetcommenceFocus, commenceFocusOffsetcommenceAbsoluteOffset, commenceAbsoluteOffset, commenceGuiding, commenceRelativeOffset, commenceRelativeOffsetcommenceMove, commenceMove, commenceMoveAzAlt, commenceTrackingregisterParameterObject getValue(String name) throws IOException, TsiTimeoutException
IOExceptionTsiTimeoutExceptionboolean setValue(String name, String to) throws IOException, TsiTimeoutException
IOExceptionTsiTimeoutExceptionboolean 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.TsiTimeoutExceptionIOExceptionvoid rebuild()
throws IOException,
TsiTimeoutException
IOExceptionTsiTimeoutExceptionCollection<TsiError> getErrors() throws IOException, TsiTimeoutException
IOExceptionTsiTimeoutExceptionboolean commenceSetCovers(boolean close)
throws IOException,
TsiTimeoutException
close - true for closeing, false for opening.IOExceptionTsiTimeoutExceptionboolean commenceClear()
throws IOException,
TsiTimeoutException
IOExceptionTsiTimeoutExceptionboolean commenceUsePort(int portnumber)
throws IOException,
TsiTimeoutException
portnumber - Implementation specific configuration index.IOExceptionTsiTimeoutException