afafa09547
ioc: check for mis-matched onStartSubscription()/onDisableSubscription() ioc: fix subscription lifetime ioc: catch exceptions in dbEvent callbacks ioc: avoid unnecessary virtual ioc: minor ioc: fix qsrv -S ioc: qsrvGroupSourceInit() catch+log ioc: runOnServer avoid std::function ioc: cleanup and simplifications. Avoid some redundant std::map lookups. Make Group partially const to prevent implicit ctor. ioc: avoid typedefs only used once ioc: overhaul Group::show(). shows triggers ioc: MappingType ioc: pvxsgl -> pvxgl ioc: separate group config singleton from server singleton ioc: remove unnecessary forward declarations ioc: restructure pvxsInitHook ioc: qsrv runtime disable by default ioc: compat w/ older Base ioc: link pvxsIoc w/ DB libs ioc: Channel proper detection of invalid PV ioc: no need to keep vector<dbCommon*> around ioc: fix initial group update for mappings w/o dbChannel ioc: redo testing split out group tests, only run with Base >= 7.0 ioc: minor ioc: loc_bad_alloc ioc: avoid symbol/DTYP clash with pva2pva ioc: test record alias in group json ioc: test put failure when SPC_NOMOD and DISP=1 ioc: test channel filters ioc: unnecessary capture ioc: avoid sharing Value between multiple subscriptions It is possible to create two subscriptions through the same channel. ioc: group subscription include queueSize ioc: eliminate unused atomicMonitor ioc: consolidate GroupSource::get() avoid some indirection ioc: pvRequest override of atomicPutGet ioc: fix group non-atomic put ioc: test asTrap hooks ioc: test putOrder also sets field order ioc: simplify GroupConfigProcessor::loadConfigFiles() Also ensure that groupMapMutex is held ioc: testqgroup cover JSON def. ioc: dbLoadGroup() use macros ioc: pvxsl() take integer argument ioc: display.form and info(Q:form ioc: "NO_ALARM" -> "" ioc: use dbServer at least for informational callbacks. ioc: consolidate createRequestAndSubscriptionHandlers() ioc: eliminate ChannelAndLock properties dbChannel doesn't need a separate DBManyLock ioc: test that putOrder also controls field order ioc: MappingType -> MappingInfo Handle info(Q:time:tag Add +type:"const" ioc: cleanup includes ioc: test dbNotifyCancel() ioc: inline checkForTrailingCommentsAtEnd()
94 lines
2.3 KiB
Plaintext
94 lines
2.3 KiB
Plaintext
|
|
|
|
record(longout, "$(N):ArraySize0_RBV") {
|
|
field(VAL, "100")
|
|
info(Q:group, {
|
|
"$(N):Array":{
|
|
"+atomic":true,
|
|
"dimension[0].size":{+channel:"VAL", +type:"plain", +putorder:0}
|
|
}
|
|
})
|
|
field(FLNK, "$(N):ArraySize1_RBV")
|
|
}
|
|
|
|
record(longout, "$(N):ArraySize1_RBV") {
|
|
field(VAL, "100")
|
|
info(Q:group, {
|
|
"$(N):Array":{
|
|
"dimension[1].size":{+channel:"VAL", +type:"plain", +putorder:0}
|
|
}
|
|
})
|
|
field(FLNK, "$(N):ArrayData_")
|
|
}
|
|
|
|
record(aSub, "$(N):ArrayData_") {
|
|
field(SNAM, "QSRV2_image_demo")
|
|
field(PINI, "YES")
|
|
field(FTA, "ULONG")
|
|
field(FTB, "ULONG")
|
|
field(FTVA, "USHORT")
|
|
field(NOVA, "262144") # eg. 512x512
|
|
field(INPA, "$(N):ArraySize0_RBV NPP MSI")
|
|
field(INPB, "$(N):ArraySize1_RBV NPP MSI")
|
|
field(OUTA, "$(N):ArrayData PP MSI")
|
|
}
|
|
|
|
record(waveform, "$(N):ArrayData") {
|
|
field(FTVL, "USHORT")
|
|
field(NELM, "262144")
|
|
info(Q:group, {
|
|
"$(N):Array":{
|
|
+id:"epics:nt/NTNDArray:1.0",
|
|
"value":{+type:"any",
|
|
+channel:"VAL",
|
|
+trigger:"*"},
|
|
"":{+type:"meta", +channel:"SEVR"},
|
|
"x":{+type:"meta", +channel:"SEVR"}
|
|
}
|
|
})
|
|
}
|
|
|
|
|
|
record(stringin, "$(N):ColorMode_") {
|
|
field(VAL, "ColorMode")
|
|
field(PINI, "YES")
|
|
info(Q:group, {
|
|
"$(N):Array":{
|
|
"attribute[0].name":{+type:"plain", +channel:"VAL"}
|
|
}
|
|
})
|
|
}
|
|
|
|
record(mbbi, "$(N):ColorMode") {
|
|
field(ZRST, "Mono")
|
|
field(ONST, "Bayer")
|
|
field(TWST, "RGB1")
|
|
field(THST, "RGB2")
|
|
field(FRST, "RGB3")
|
|
field(FVST, "YUV444")
|
|
field(SXST, "YUV422")
|
|
field(SVST, "YUV411")
|
|
field(VAL, "0") # Gray
|
|
field(PINI, "YES")
|
|
info(Q:group, {
|
|
"$(N):Array":{
|
|
"attribute[0].value":{+type:"any", +channel:"VAL"}
|
|
}
|
|
})
|
|
}
|
|
|
|
record(bo, "$(N):extra") {
|
|
field(ZNAM, "foo")
|
|
field(ONAM, "bar")
|
|
info(Q:group, {
|
|
"$(N):Array":{
|
|
"attribute[1].value":{+type:"any",
|
|
+channel:"VAL",
|
|
+putorder:0,
|
|
+trigger:"attribute[1].value"},
|
|
"attribute[1]":{+type:"meta", +channel:"SEVR"}
|
|
}
|
|
})
|
|
alias("$(N):extra:alias")
|
|
}
|