diff --git a/src/pandablocks_ioc/_hdf_ioc.py b/src/pandablocks_ioc/_hdf_ioc.py index 9e3fc21a..4c5d5c9f 100644 --- a/src/pandablocks_ioc/_hdf_ioc.py +++ b/src/pandablocks_ioc/_hdf_ioc.py @@ -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, diff --git a/src/pandablocks_ioc/_pvi.py b/src/pandablocks_ioc/_pvi.py index 43bf6174..517821db 100644 --- a/src/pandablocks_ioc/_pvi.py +++ b/src/pandablocks_ioc/_pvi.py @@ -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)