On 01/31/2018 01:04 PM, Benjamin Franksen wrote:
I have tried to reproduce your problem by simplifying it to the bare
essentials: three states that do nothing but announce themselves through
a PV (using your macro and parts of your enum definition) and then
(unconditionally) go to the next state, looping the whole process for 10
iterations. I camonitor the PV state_current and expect to get a
sequence of values 1 2 3 1 2 3 etc. With normal pvPut this indeed fails:
franksen@tiber: ~ > camonitor state_current
state_current 2018-01-31 12:54:53.663351 3
state_current 2018-01-31 12:56:20.357273 1
state_current 2018-01-31 12:56:20.357293 1
state_current 2018-01-31 12:56:20.357348 2
state_current 2018-01-31 12:56:20.357348 2
state_current 2018-01-31 12:56:20.357418 3
state_current 2018-01-31 12:56:20.357418 3
The reason it fails is that the fire-and-forget pvPut commands are
issued in a very tight loop here; the server receives the next ca_put
message before it can act (process, issue monitor events) on the first.
But with pvPut(pv_variable, SYNC) I get the expected
Some more testing showed that the same IOC build for linux-x86_64 is
running as expect on my machine.
So there seem to be a problem running this on linux-ppc.
My CONFIG_SITE.Common.linux-ppc is:
ARCH_CLASS = ppc
COMMANDLINE_LIBRARY = READLINE_NCURSES
GNU_DIR = $(HOST_DIR)/usr
GNU_TARGET = powerpc-buildroot-linux-uclibc
and CONFIG.Common.linux-ppc is:
ARCH_CLASS = ppc
ARCH_DEP_CPPFLAGS += -D_ppc_
VALID_BUILDS = Host Ioc
Any idea, what I might need to change?
I also tried CROSS_OPT=NO, but this did not help either.
--
Simon Reiter
II. Physikalisches Institut
Justus-Liebig-Universtität
Heinrich-Buff-Ring 16
D-35392 Giessen
Tel: +49 641 99 33250
- Replies:
- Re: Sequencer seem to skip states with EPICS 3.16.1 Benjamin Franksen
- References:
- Sequencer seem to skip states with EPICS 3.16.1 Simon Reiter
- Re: Sequencer seem to skip states with EPICS 3.16.1 Simon Reiter
- Re: Sequencer seem to skip states with EPICS 3.16.1 Ralph Lange
- Re: Sequencer seem to skip states with EPICS 3.16.1 Simon Reiter
- Re: Sequencer seem to skip states with EPICS 3.16.1 Ralph Lange
- Re: Sequencer seem to skip states with EPICS 3.16.1 Simon Reiter
- Re: Sequencer seem to skip states with EPICS 3.16.1 Benjamin Franksen
- Navigate by Date:
- Prev:
Re: EPICS database macro warning Wang Xiaoqiang
- Next:
Suggest EPICS Base series type definitions on website J. Lewis Muir
- 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:
Re: Sequencer seem to skip states with EPICS 3.16.1 Benjamin Franksen
- Next:
Re: Sequencer seem to skip states with EPICS 3.16.1 Benjamin Franksen
- 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
|