add image.json example

This commit is contained in:
Michael Davidsaver
2022-11-03 10:01:22 -07:00
parent db5af06e07
commit 3b9990e365

View File

@ -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"}
}
}