Skip to content

Commit

Permalink
Changed the backlight IOC name to match I03's #26
Browse files Browse the repository at this point in the history
  • Loading branch information
evalott100 committed Nov 14, 2022
1 parent 6e06327 commit 45022b4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
6 changes: 3 additions & 3 deletions s03_configs/oav.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
port: 25562


- tickit_devices.oav.oav_edge_detection.OAV_MO_MD2:
name: oav_mo_md2
- tickit_devices.oav.oav_edge_detection.OAV_EA_BL:
name: oav_ea_bl
inputs: {}
port: 25561
port: 25561
5 changes: 5 additions & 0 deletions tickit_devices/oav/db_files/DI-OAV.db
Original file line number Diff line number Diff line change
Expand Up @@ -5653,6 +5653,11 @@ record(longin, "S03SIM-DI-OAV-01:MJPG:ArraySize1_RBV")
field(INP, "S03SIM-DI-OAV-01:MJPG:Dim1SA_RBV")
field(FLNK, "S03SIM-DI-OAV-01:MJPG:Dim2SA_RBV")
}
record(longin, "S03SIM-DI-OAV-01:MJPG:JPG_URL_RBV")
{
field(INP, "S03SIM-DI-OAV-01:MJPG:Dim1SA_RBV")
field(FLNK, "S03SIM-DI-OAV-01:MJPG:Dim2SA_RBV")
}

record(longin, "S03SIM-DI-OAV-01:MJPG:ArraySize2_RBV")
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

record(stringout, "S03SIM-MO-MD2-01:CTRL")
record(stringout, "S03SIM-EA-BL-01:CTRL")
{
field(PINI, "YES")
field(DTYP, "asynOctetWrite")
field(OUT, "@asyn(OAV.MXSC,0,1)NDARRAY_PORT")
field(VAL, "Out")
info(autosaveFields, "VAL")
}
}
Empty file.
6 changes: 3 additions & 3 deletions tickit_devices/oav/oav_edge_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,15 @@ def __call__(self) -> Component: # noqa: D102


@dataclass
class OAV_MO_MD2(ComponentConfig):
class OAV_EA_BL(ComponentConfig):
"""To hold EA-OAV PVs."""

waveforms_file: str = "tickit_devices/oav/db_files/edge_waveforms.npy"
host: str = "localhost"
port: int = 25565
format: ByteFormat = ByteFormat(b"%b\r\n")
db_file: str = "tickit_devices/oav/db_files/MO-MD2.db"
ioc_name: str = "S03SIM-MO-MD2-01"
db_file: str = "tickit_devices/oav/db_files/EA-BL.db"
ioc_name: str = "S03SIM-EA-BL-01"

def __call__(self) -> Component: # noqa: D102
with open(self.waveforms_file, "rb") as f:
Expand Down

0 comments on commit 45022b4

Please sign in to comment.