From 3b9990e3650fca2673eebfb83645193ac0e5297d Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Thu, 3 Nov 2022 10:01:22 -0700 Subject: [PATCH] add image.json example --- iocBoot/iocimagedemo/image.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 iocBoot/iocimagedemo/image.json diff --git a/iocBoot/iocimagedemo/image.json b/iocBoot/iocimagedemo/image.json new file mode 100644 index 0000000..2c109e1 --- /dev/null +++ b/iocBoot/iocimagedemo/image.json @@ -0,0 +1,19 @@ +/* demonstrate a definition equivalent to the info(Q:group, ...) tags in image.dbd */ +{ + "TST:image1:Array2":{ + "+id":"epics:nt/NTNDArray:1.0", + "value":{"+type":"any", + "+channel":"TST:image1:ArrayData.VAL", + "+trigger":"*"}, + "":{"+type":"meta", "+channel":"TST:image1:ArrayData.SEVR"}, + "dimension[0].size":{"+channel":"TST:image1:ArraySize0_RBV.VAL", "+type":"plain", "+putorder":0}, + "dimension[1].size":{"+channel":"TST:image1:ArraySize1_RBV.VAL", "+type":"plain", "+putorder":0}, + "attribute[0].name":{"+type":"plain", "+channel":"TST:image1:ColorMode_.VAL"}, + "attribute[0].value":{"+type":"any", "+channel":"TST:image1:ColorMode.VAL"}, + "attribute[1].value":{"+type":"any", + "+channel":"TST:image1:extra.VAL", + "+putorder":0, + "+trigger":"attribute[1].value"}, + "attribute[1]":{"+type":"meta", "+channel":"TST:image1:extra.SEVR"} + } +}