Hi Patrick,
I forgot to CC tech-talk on my original reply.
Your st.cmd got stripped out by the mail system, please rename to st.cmd.txt before attaching.
Please use the details=5 flag on the dbpr commands, e.g.
dbpr Tst/4Config/targetStream 5
Did you check carefully for any warnings or errors in the iocsh output when starting the IOC?
Mark
-----Original Message-----
From: Nonn, Patrick <patrick.nonn at desy.de>
Sent: Wednesday, July 8, 2020 8:25 AM
To: Mark Rivers <rivers at cars.uchicago.edu>
Subject: Re: Process at Init of mbbo-record
Hi,
the db-file and the start-script, where it is loaded, is attached. I have also attached the req files used to set the record via save_restore, just in case. The dbpr output is:
epics> dbpr Tst/4Config/targetStream
ASG : DESC: DISA: 0 DISP: 0
DISV: 1 NAME: Tst/4Config/targetStream RBV : 0
RVAL: 0 SEVR: NO_ALARM STAT: NO_ALARM TPRO: 0
VAL : 3
I have also looked at the mbbo record loaded afterwards:
epics> dbpr Tst/4Config/logLevel
ASG : DESC: DISA: 0 DISP: 0
DISV: 1 NAME: Tst/4Config/logLevel RBV : 0
RVAL: 3 SEVR: NO_ALARM STAT: NO_ALARM TPRO: 0
VAL : 3
and as you can see, it is processed correctly at init, as is the targetStream record before:
epics> dbpr Tst/3Config/targetStream
ASG : DESC: DISA: 0 DISP: 0
DISV: 1 NAME: Tst/3Config/targetStream RBV : 0
RVAL: 3 SEVR: NO_ALARM STAT: NO_ALARM TPRO: 0
VAL : 3
and afterwards:
epics> dbpr Tst/5Config/targetStream
ASG : DESC: DISA: 0 DISP: 0
DISV: 1 NAME: Tst/5Config/targetStream RBV : 0
RVAL: 3 SEVR: NO_ALARM STAT: NO_ALARM TPRO: 0
VAL : 3
Regards,
Patrick
----- Original Message -----
From: "Mark Rivers" <rivers at cars.uchicago.edu>
To: "Patrick Nonn" <patrick.nonn at desy.de>
Sent: Wednesday, 8 July, 2020 15:07:42
Subject: Re: Process at Init of mbbo-record
Can you show:
- The database file
- The commands to load it 8 times
- The output of the following command at the iocsh, where (record) is the name of the 5'th record loaded.
dbpr (record) 5
Mark
________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Nonn, Patrick via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, July 8, 2020 7:47 AM
To: tech-talk
Subject: Process at Init of mbbo-record
Hi,
I observe some odd behaviour. I have changed a longout record to an mbbo record, either with passive scan and pini=1. This record is loaded eight times with different macros. After the change to mbbo, the 5th instance of this record is not processed during init (VAL is set, RVAL is 0). This is true, even if the sequence, in which the different instances are loaded, are switched. Could this be a timing issue of some sort?
Greetings
Patrick
- Replies:
- Re: Process at Init of mbbo-record Nonn, Patrick via Tech-talk
- References:
- Process at Init of mbbo-record Nonn, Patrick via Tech-talk
- Navigate by Date:
- Prev:
Asyn/StreamDevice for HP3458A through Agilent E5810 LAN/GPIB Gateway Hu, Yong via Tech-talk
- Next:
RE: Asyn/StreamDevice for HP3458A through Agilent E5810 LAN/GPIB Gateway Mark Rivers via Tech-talk
- 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
- Navigate by Thread:
- Prev:
Process at Init of mbbo-record Nonn, Patrick via Tech-talk
- Next:
Re: Process at Init of mbbo-record Nonn, Patrick via Tech-talk
- 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
|