From 979a10489b588b003e3513a62f4db57eaa0845fc Mon Sep 17 00:00:00 2001 From: Eva Lott Date: Fri, 1 Sep 2023 14:11:13 +0100 Subject: [PATCH] Fixed incorrect .bob --- src/pandablocks_ioc/_pvi.py | 2 +- tests/test-bobfiles/PCAP.bob | 29 +++++++++++++++++++++++------ 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/src/pandablocks_ioc/_pvi.py b/src/pandablocks_ioc/_pvi.py index 43c4b68a..e6f0f7e3 100644 --- a/src/pandablocks_ioc/_pvi.py +++ b/src/pandablocks_ioc/_pvi.py @@ -7,6 +7,7 @@ from epicsdbbuilder import RecordName from pvi._format.dls import DLSFormatter from pvi.device import ( + LED, ButtonPanel, ComboBox, Component, @@ -14,7 +15,6 @@ DeviceRef, Grid, Group, - LED, Row, SignalR, SignalRW, diff --git a/tests/test-bobfiles/PCAP.bob b/tests/test-bobfiles/PCAP.bob index 3e109c18..430919ad 100644 --- a/tests/test-bobfiles/PCAP.bob +++ b/tests/test-bobfiles/PCAP.bob @@ -2,7 +2,7 @@ Display 0 0 - 426 + 425 227 4 4 @@ -12,7 +12,7 @@ PCAP - TEST-PREFIX: 0 0 - 426 + 425 25 @@ -29,7 +29,7 @@ INPUTS 5 30 - 416 + 415 131 true @@ -67,17 +67,34 @@ WritePV - o + Arm 255 25 - 60 + 38 + 20 + $(actions) + + + ActionButton + TEST-PREFIX:PCAP:ARM + + + $(pv_name) + 0 + WritePV + + + Disarm + 298 + 25 + 38 20 $(actions) LED TEST-PREFIX: - 340 + 350 25 20 20