public interface FocusDeviceInternal extends DeviceInternal
Modifier and Type | Method and Description |
---|---|
double |
getFocusPosition()
Returns the position of the focus device.
|
void |
setFocusPosition(double position,
int accessID)
Sets the position of the current focus device.
|
void |
setRelativeFocusPosition(double offset,
int accessID)
Sets the position of the current focus device relative to the current
focus.
|
getDeviceID, getDriverID, getEditableProperties, getExplicitDelay, getInitializationTime, getLibraryID, getProperties, getProperty, getType, setExplicitDelay, waitForDevice
double getFocusPosition() throws MicroscopeException, java.lang.InterruptedException
MicroscopeException
java.lang.InterruptedException
void setFocusPosition(double position, int accessID) throws MicroscopeLockedException, MicroscopeException, java.lang.InterruptedException
position
- The new position.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
MicroscopeException
java.lang.InterruptedException
void setRelativeFocusPosition(double offset, int accessID) throws MicroscopeLockedException, MicroscopeException, java.lang.InterruptedException
offset
- The offset.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeLockedException
MicroscopeException
java.lang.InterruptedException