Experimental Physics and
| |||||||||||||||
|
Hello everyone,
A) I am trying to pass several (DOUBLE) constants to my aSub record via INPA-U link fields. I am new to EPICS and follow the app developer guide's makeBaseApp.pl example. record(aSub,"$(user):aSubExample")
{ field(INAM,"myAsubInit") field(SNAM,"myAsubProcess") field(FTA,"DOUBLE") field(NOA,"10") field(INPA,"$(user):compressExample CPP") field(FTB,"DOUBLE") field(NOB,"1") field(INPB,"123") } I expected that $(user):aSubExample.B value would be set to 123. What I get back instead is caget $(user):aSubExample.B $(user):aSubExample.B 0 while the INPA works as expected. The dbpr shows these links as INPA: CA_LINK $(user):compressExample CPP NMS INPB: CONSTANT 123 The only semi relevant thing that I was able to find was the discussion of this bug Am I doing something wrong or is it expected behavior? B) I intend to use this aSub record as an alarm status for the input waveform record of doubles and have INPB-E as an equivalent to the HIGH LOW HIHI LOLO fields. The goal is to set the appropriate alarm status to highest severity if any element of the waveform will fall outside these limits. I was just wondering if something similar has been already implemented? Thank you Mikhail
| ||||||||||||||
ANJ, 14 Sep 2022 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |