![]() |
BioImager
3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
|
Public Member Functions | |
| def | __init__ (self, device_def, DeviceServerOptions options, typing.Mapping[str, str] id_to_host, typing.Mapping[str, int] id_to_port, typing.Optional[multiprocessing.Event] exit_event=None) |
| def | clone (self) |
| def | run (self) |
Public Attributes | |
| exit_event | |
| daemon | |
Initialise a device and serve at host/port according to its id.
Args:
device_def: definition of the device.
options: configuration for the device server.
id_to_host: host or mapping of device identifiers to hostname.
id_to_port: map or mapping of device identifiers to port
number.
exit_event: a shared event to signal that the process should
quit.
Definition at line 241 of file device_server.py.
| def microscope.device_server.DeviceServer.__init__ | ( | self, | |
| device_def, | |||
| DeviceServerOptions | options, | ||
| typing.Mapping[str, str] | id_to_host, | ||
| typing.Mapping[str, int] | id_to_port, | ||
| typing.Optional[multiprocessing.Event] | exit_event = None |
||
| ) |
Definition at line 255 of file device_server.py.
| def microscope.device_server.DeviceServer.clone | ( | self | ) |
Create new instance with same settings. This is useful to restart a device server.
Definition at line 275 of file device_server.py.
References microscope.device_server.DeviceServer._device_def, microscope.device_server.DeviceServer._devices, microscope.simulators.SimulatedController._devices, microscope.device_server.DeviceServer._id_to_host, microscope.device_server.DeviceServer._id_to_port, microscope.device_server.DeviceServer._options, and microscope.device_server.DeviceServer.exit_event.
| def microscope.device_server.DeviceServer.run | ( | self | ) |
Definition at line 289 of file device_server.py.
| microscope.device_server.DeviceServer.daemon |
Definition at line 273 of file device_server.py.
| microscope.device_server.DeviceServer.exit_event |
Definition at line 271 of file device_server.py.
Referenced by microscope.device_server.DeviceServer.clone().