public interface ShutterDeviceInternal extends DeviceInternal
Modifier and Type | Method and Description |
---|---|
boolean |
isOpen()
Returns true if the shutter is open, and false if it is closed.
|
void |
setOpen(boolean open,
int accessID)
Opens (open == true) or closes (open == false) the shutter.
|
getDeviceID, getDriverID, getEditableProperties, getExplicitDelay, getInitializationTime, getLibraryID, getProperties, getProperty, getType, setExplicitDelay, waitForDevice
void setOpen(boolean open, int accessID) throws MicroscopeException, MicroscopeLockedException, java.lang.InterruptedException
open
- True if the shutter should be opened, false if it should be closed.accessID
- The access ID of the current microscope object. If the microscope is locked with a different accessID, a MicroscopeLockedException is thrown.MicroscopeException
MicroscopeLockedException
java.lang.InterruptedException
boolean isOpen() throws MicroscopeException, java.lang.InterruptedException
MicroscopeException
java.lang.InterruptedException