diff --git a/pyproject.toml b/pyproject.toml index f2ee21a2e..35cf11bae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ dependencies = [ "jinja2", "GitPython", "semantic-version", - "pvi~=0.8", # pvi currently tracks breaking changes with minor version + "pvi", ] # Add project dependencies here, e.g. ["click", "numpy"] dynamic = ["version"] license.file = "LICENSE" diff --git a/src/ibek/support_cmds/commands.py b/src/ibek/support_cmds/commands.py index a9c51aec6..9827e0e39 100644 --- a/src/ibek/support_cmds/commands.py +++ b/src/ibek/support_cmds/commands.py @@ -17,7 +17,6 @@ from ibek.globals import ( GLOBALS, - IBEK_GLOBALS, PVI_YAML_PATTERN, SUPPORT_YAML_PATTERN, NaturalOrderGroup, diff --git a/tests/samples/outputs/quadem/NDPluginStats.pvi.bob b/tests/samples/outputs/quadem/NDPluginStats.pvi.bob index bf8a3bf84..4674f8f19 100644 --- a/tests/samples/outputs/quadem/NDPluginStats.pvi.bob +++ b/tests/samples/outputs/quadem/NDPluginStats.pvi.bob @@ -73,19 +73,28 @@ true Label - Array Size X + Min Y 0 0 150 20 $(text) + + TextEntry + $(P)$(R)MinY + 155 + 0 + 100 + 20 + 1 + TextUpdate - $(P)$(R)ArraySizeX_RBV - 155 + $(P)$(R)MinY_RBV + 260 0 - 205 + 100 20 @@ -95,19 +104,28 @@ Label - Array Size Y + Min X 0 25 150 20 $(text) + + TextEntry + $(P)$(R)MinX + 155 + 25 + 100 + 20 + 1 + TextUpdate - $(P)$(R)ArraySizeY_RBV - 155 + $(P)$(R)MinX_RBV + 260 25 - 205 + 100 20 @@ -117,7 +135,7 @@ Label - Array Size + Array Size X 0 50 150 @@ -126,7 +144,7 @@ TextUpdate - $(P)$(R)ArraySize_RBV + $(P)$(R)ArraySizeX_RBV 155 50 205 @@ -139,27 +157,19 @@ Label - Data Type + Array Size Y 0 75 150 20 $(text) - - ComboBox - $(P)$(R)DataType - 155 - 75 - 100 - 20 - TextUpdate - $(P)$(R)DataType_RBV - 260 + $(P)$(R)ArraySizeY_RBV + 155 75 - 100 + 205 20 @@ -169,27 +179,19 @@ Label - Color Mode + Array Size 0 100 150 20 $(text) - - ComboBox - $(P)$(R)ColorMode - 155 - 100 - 100 - 20 - TextUpdate - $(P)$(R)ColorMode_RBV - 260 + $(P)$(R)ArraySize_RBV + 155 100 - 100 + 205 20 @@ -199,25 +201,24 @@ Label - Min Y + Data Type 0 125 150 20 $(text) - - TextEntry - $(P)$(R)MinY + + ComboBox + $(P)$(R)DataType 155 125 100 20 - 1 TextUpdate - $(P)$(R)MinY_RBV + $(P)$(R)DataType_RBV 260 125 100 @@ -230,25 +231,24 @@ Label - Min X + Color Mode 0 150 150 20 $(text) - - TextEntry - $(P)$(R)MinX + + ComboBox + $(P)$(R)ColorMode 155 150 100 20 - 1 TextUpdate - $(P)$(R)MinX_RBV + $(P)$(R)ColorMode_RBV 260 150 100 diff --git a/tests/samples/outputs/quadem/NDPluginStats.pvi.template b/tests/samples/outputs/quadem/NDPluginStats.pvi.template index df0466727..6d27af976 100644 --- a/tests/samples/outputs/quadem/NDPluginStats.pvi.template +++ b/tests/samples/outputs/quadem/NDPluginStats.pvi.template @@ -23,10 +23,10 @@ record("*", "$(P)$(R)Net_RBV") { }) } -record("*", "$(P)$(R)ArraySizeX_RBV") { +record("*", "$(P)$(R)MinY") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.ArraySizeX.r": { + "pvi.MinY.w": { "+channel": "NAME", "+type": "plain", } @@ -34,10 +34,10 @@ record("*", "$(P)$(R)ArraySizeX_RBV") { }) } -record("*", "$(P)$(R)ArraySizeY_RBV") { +record("*", "$(P)$(R)MinY_RBV") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.ArraySizeY.r": { + "pvi.MinY.r": { "+channel": "NAME", "+type": "plain", } @@ -45,10 +45,10 @@ record("*", "$(P)$(R)ArraySizeY_RBV") { }) } -record("*", "$(P)$(R)ArraySize_RBV") { +record("*", "$(P)$(R)MinX") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.ArraySize.r": { + "pvi.MinX.w": { "+channel": "NAME", "+type": "plain", } @@ -56,10 +56,10 @@ record("*", "$(P)$(R)ArraySize_RBV") { }) } -record("*", "$(P)$(R)DataType") { +record("*", "$(P)$(R)MinX_RBV") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.DataType.w": { + "pvi.MinX.r": { "+channel": "NAME", "+type": "plain", } @@ -67,10 +67,10 @@ record("*", "$(P)$(R)DataType") { }) } -record("*", "$(P)$(R)DataType_RBV") { +record("*", "$(P)$(R)ArraySizeX_RBV") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.DataType.r": { + "pvi.ArraySizeX.r": { "+channel": "NAME", "+type": "plain", } @@ -78,10 +78,10 @@ record("*", "$(P)$(R)DataType_RBV") { }) } -record("*", "$(P)$(R)ColorMode") { +record("*", "$(P)$(R)ArraySizeY_RBV") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.ColorMode.w": { + "pvi.ArraySizeY.r": { "+channel": "NAME", "+type": "plain", } @@ -89,10 +89,10 @@ record("*", "$(P)$(R)ColorMode") { }) } -record("*", "$(P)$(R)ColorMode_RBV") { +record("*", "$(P)$(R)ArraySize_RBV") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.ColorMode.r": { + "pvi.ArraySize.r": { "+channel": "NAME", "+type": "plain", } @@ -100,10 +100,10 @@ record("*", "$(P)$(R)ColorMode_RBV") { }) } -record("*", "$(P)$(R)MinY") { +record("*", "$(P)$(R)DataType") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.MinY.w": { + "pvi.DataType.w": { "+channel": "NAME", "+type": "plain", } @@ -111,10 +111,10 @@ record("*", "$(P)$(R)MinY") { }) } -record("*", "$(P)$(R)MinY_RBV") { +record("*", "$(P)$(R)DataType_RBV") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.MinY.r": { + "pvi.DataType.r": { "+channel": "NAME", "+type": "plain", } @@ -122,10 +122,10 @@ record("*", "$(P)$(R)MinY_RBV") { }) } -record("*", "$(P)$(R)MinX") { +record("*", "$(P)$(R)ColorMode") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.MinX.w": { + "pvi.ColorMode.w": { "+channel": "NAME", "+type": "plain", } @@ -133,10 +133,10 @@ record("*", "$(P)$(R)MinX") { }) } -record("*", "$(P)$(R)MinX_RBV") { +record("*", "$(P)$(R)ColorMode_RBV") { info(Q:group, { "$(P)$(R)PVI": { - "pvi.MinX.r": { + "pvi.ColorMode.r": { "+channel": "NAME", "+type": "plain", }