Shutter¶
Bases: AbstractSystem
Shutter class defines the interface for shutter devices
This class extends AbstractSystem to provide control for optical shutters, allowing for opening, closing, and checking the state of the shutter.
getShutterState()
¶
Get the shutter state
Retrieves the current state of the shutter (0 for closed, 1 for open).
Returns:
| Type | Description |
|---|---|
int
|
The shutter state as an int |
setShutterState(state)
¶
Set the shutter state
Sets the desired state of the shutter (0 for closed, 1 for open).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state
|
int
|
The state to set |
required |
checkShutterState()
¶
Wait until the shutter state is set
Waits until the shutter state is effectively set.