pdb: group put w/ process

This commit is contained in:
Michael Davidsaver
2017-09-29 14:22:41 -05:00
parent b839d5dc6d
commit e0bac39667
9 changed files with 207 additions and 49 deletions

View File

@ -1,5 +1,6 @@
#!../../bin/linux-x86_64-debug/softIocPVA
dbLoadRecords("image.db","N=TST:image1")
dbLoadRecords("table.db","N=TST:table1")
iocInit()

View File

@ -0,0 +1,45 @@
record(aai, "$(N)Labels_") {
field(FTVL, "STRING")
field(NELM, "2")
field(INP , {const:["Column A", "Column B"]})
info(Q:group, {
"$(N)Tbl":{
+id:"epics:nt/NTTable:1.0",
"labels":{+type:"plain", +channel:"VAL"}
}
})
field(TPRO, "1")
}
record(aao, "$(N)A") {
field(FTVL, "DOUBLE")
field(NELM, "10")
info(Q:group, {
"$(N)Tbl":{
"value.A":{+type:"plain", +channel:"VAL", +putorder:1}
}
})
field(TPRO, "1")
}
record(aao, "$(N)B") {
field(FTVL, "DOUBLE")
field(NELM, "10")
info(Q:group, {
"$(N)Tbl":{
"":{+type:"meta", +channel:"VAL"},
"value.B":{+type:"plain", +channel:"VAL", +putorder:1}
}
})
field(TPRO, "1")
}
record(bo, "$(N)Save") {
field(TPRO, "1")
info(Q:group, {
"$(N)Tbl":{
"_save":{+type:"plain", +channel:"VAL", +putorder:2}
}
})
}