Skip to content

Commit

Permalink
Merge pull request #195 from jwlodek/move-srx-caproto-iocs
Browse files Browse the repository at this point in the history
Move srx caproto iocs
  • Loading branch information
mrakitin authored Sep 25, 2024
2 parents 45efd6b + 5a672f7 commit 6986ffa
Show file tree
Hide file tree
Showing 5 changed files with 663 additions and 15 deletions.
17 changes: 2 additions & 15 deletions nslsii/detectors/webcam.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,10 @@
from ophyd import Device, Signal
from ophyd.sim import NullStatus, new_uid

logger = logging.getLogger("vstream")

from nslsii.iocs.caproto_saver import ExternalFileReference

class ExternalFileReference(Signal):
"""
A pure software Signal that describe()s an image in an external file.
"""
logger = logging.getLogger("vstream")

def describe(self):
resource_document_data = super().describe()
resource_document_data[self.name].update(
dict(
external="FILESTORE:",
dtype="array",
)
)
return resource_document_data


class VideoStreamDet(Device):
Expand Down
Loading

0 comments on commit 6986ffa

Please sign in to comment.