pyobs-zaber 2.0.0.dev6__tar.gz → 2.0.0.dev7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/PKG-INFO +1 -1
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/pyobs_zaber/zaberdriver.py +1 -1
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/pyobs_zaber/zabermodeselector.py +2 -2
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/pyproject.toml +1 -1
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/uv.lock +1 -1
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/.github/workflows/pypi.yml +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/.github/workflows/ruff.yml +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/.pre-commit-config.yaml +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/.readthedocs.yml +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/LICENSE +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/README.md +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/docs/Makefile +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/docs/make.bat +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/docs/requirements.txt +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/docs/source/_static/pyobs.gif +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/docs/source/conf.py +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/docs/source/index.rst +0 -0
- {pyobs_zaber-2.0.0.dev6 → pyobs_zaber-2.0.0.dev7}/pyobs_zaber/__init__.py +0 -0
|
@@ -110,7 +110,7 @@ class ZaberDriver:
|
|
|
110
110
|
status: True -> LED on, False -> LED off
|
|
111
111
|
"""
|
|
112
112
|
async with zaber_device(self.port) as device:
|
|
113
|
-
device.settings.
|
|
113
|
+
await device.settings.set_async("system.led.enable", float(status))
|
|
114
114
|
|
|
115
115
|
async def stop(self):
|
|
116
116
|
"""Stop motion."""
|
|
@@ -46,12 +46,12 @@ class ZaberModeSelector(Module, IMode, IMotion):
|
|
|
46
46
|
await self.comm.set_state(IReady, ReadyState(ready=True))
|
|
47
47
|
await self.comm.set_state(IMotion, MotionState(status=MotionStatus.PARKED))
|
|
48
48
|
|
|
49
|
-
async def set_mode(self, mode: str, group:
|
|
49
|
+
async def set_mode(self, mode: str, group: str = "", **kwargs: Any) -> None:
|
|
50
50
|
"""Set the current mode.
|
|
51
51
|
|
|
52
52
|
Args:
|
|
53
53
|
mode: Name of mode to set.
|
|
54
|
-
group:
|
|
54
|
+
group: Name of the group to set the mode for (unused, single group only).
|
|
55
55
|
|
|
56
56
|
Raises:
|
|
57
57
|
ValueError: If an invalid mode was given.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|