Skip to content

Commit

Permalink
LED inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Cunningham committed Oct 2, 2024
1 parent 2b8103f commit 390e31a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/pandablocks_ioc/_hdf_ioc.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,14 +568,13 @@ def __init__(

capture_control_record_name = EpicsName(self.DATA_PREFIX + ":CAPTURE")
self._capture_control_record = builder.boolOut(

capture_control_record_name,
ZNAM=ZNAM_STR,
ONAM=ONAM_STR,
on_update=self._capture_on_update,
validate=self._capture_validate,
DESC="Start/stop HDF5 capture",
initial_value = 0
initial_value=0,
)
add_data_capture_pvi_info(
PviGroup.CAPTURE,
Expand Down
2 changes: 2 additions & 0 deletions src/pandablocks_ioc/_pvi.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ def add_automatic_pvi_info(
builder.stringIn,
):
readable_widget = TextRead(format=TextFormat.string)
elif record_creation_func == builder.boolIn:
readable_widget = LED()
else:
readable_widget = TextRead(format=None)

Expand Down

0 comments on commit 390e31a

Please sign in to comment.