1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 <2020> 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | 回复: 回复: Reading multiple parameters from an incoming message. |
From: | "Li, Ji via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "Hu, Yong" <yhu at bnl.gov>, Mark Rivers <rivers at cars.uchicago.edu> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 30 Dec 2020 15:50:14 +0000 |
Hi Yong,
$(P){$(Q)-Ax:A}:RATE:RBV will scan automatically. Since I'm still testing and don't want the IOC shell be flooded by messages, SCAN has not been defined yet. It will be added later.
$(P){$(Q)-Ax:A}:STATUS and $(P){$(Q)-Ax:B}:STATUS are defined in another .db:
======================
record(mbbi, "$(P){$(Q)-Ax:$(AX)}:STATUS") {
field(DESC, "Pump Status") field(ZRVL, "0") field(ZRST, "Idle") field(ONVL, "1") field(ONST, "Infusing") field(TWVL, "2") field(TWST, "Withdrawing") field(THVL, "3") field(THST, "Stalled") field(FRVL, "4") field(FRST, "Target Reached") field(FVVL, "5") field(FVST, "Unknown") }
======================
I didn't use Maximize Severity Attribute.
Best,
-Ji Li
发件人: Hu, Yong <yhu at bnl.gov>
发送时间: 2020年12月30日 10:09 收件人: Li, Ji <liji at bnl.gov>; Mark Rivers <rivers at cars.uchicago.edu> 抄送: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> 主题: Re: 回复: Reading multiple parameters from an incoming message. Ji,
Since I do not see the SCAN field in your .db, I do not see how $(P){$(Q)-Ax:A}:RATE:RBV gets processed. Is it linked by another record?
Also, I do not see how $(P){$(Q)-Ax:A}:STATUS and $(P){$(Q)-Ax:B}:STATUS are constructed in your .db. Are there any database links between all of these records? Do you use Maximize Severity Attribute (MS, MSS, or MSI) in your .db?
Yong
From:
Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Hi Mark,
I was referring to the PV for RATEA - $(P){$(Q)-Ax:A}:RATE:RBV.
Please see the attached files for the protocol, the database, the substitutions file, and the st.cmd. I only worked on Independent Condition to operate the two syringes separately. For better clarity I removed other protocols/databases definitions.
The .proto file contains the definition of this protocol and the referenced macro.
I have several .db files for different categories of information (rate/volume/time/...). The attached .db file defines the status PV - currently only RATEA. I expect implementation of other PVs that get values from this status message would be similar once I'm done with RATEA.
Best,
-Ji Li
发件人: Mark Rivers <rivers at cars.uchicago.edu>
Hi Ji Li, |