Hi:
> I subsequently tried out on EPICS base version 7.0.3.1 ..
> It works fine ..
> I am suspecting the bug may be due to newer version of EPICS.
Looks like you found a problem in R7.0.6.
Take this example record, executed by softIoc:
record(calc, "test_calc")
{
field(SCAN, "1 second")
field(CALC, "RNDM*100")
}
$ caget -S test_calc.CALC$
test_calc.CALC$ RNDM*100
$ caput -S test_calc.CALC$ "300"
Old : test_calc.CALC$ RNDM*100
CA.Client.Exception...............................................
Warning: "Channel write request failed"
Context: "op=1, channel=test_calc.CALC$, type=DBR_CHAR, count=4, ctx="test_calc""
Source File: ../oldChannelNotify.cpp line 159
Current Time: Sat Aug 07 2021 15:27:54.755166000
..................................................................
New : test_calc.CALC$ 3NDM*100
.. and the softIoc shows this error:
Illegal field value PV: test_calc calc: Illegal CALC field
test_calc.CALC: Syntax error, unknown operator/operand in expression "3NDM*100"
So the IOC didn't receive "300" as written, it only took "3" _and_ kept the rest of the previous CALC field value.
When instead using R7.0.4.1, all works fine.
In fact the test also succeeds with softIoc from R7.0.4.1 and caget/caput from base-7.0.6.
The issue starts when using the base-7.0.6 softIoc.
-Kay
- Replies:
- Re: base-7.0.6 long string$ bug? Re: Calc Module of SynApps: Issue with long string CALC$ Pete Jemian via Tech-talk
- Re: base-7.0.6 long string$ bug? Re: Calc Module of SynApps: Issue with long string CALC$ Michael Davidsaver via Tech-talk
- Re: base-7.0.6 long string$ bug? Re: Calc Module of SynApps: Issue with long string CALC$ Michael Davidsaver via Tech-talk
- References:
- Calc Module of SynApps: Issue with long string CALC$ Kuldeep Joshi via Tech-talk
- Re: [EXTERNAL] Calc Module of SynApps: Issue with long string CALC$ Kasemir, Kay via Tech-talk
- Re: [EXTERNAL] Calc Module of SynApps: Issue with long string CALC$ Kuldeep Joshi via Tech-talk
- Re: [EXTERNAL] Calc Module of SynApps: Issue with long string CALC$ Kasemir, Kay via Tech-talk
- Re: Calc Module of SynApps: Issue with long string CALC$ Kuldeep Joshi via Tech-talk
- Re: Calc Module of SynApps: Issue with long string CALC$ Kuldeep Joshi via Tech-talk
- Navigate by Date:
- Prev:
Re: Calc Module of SynApps: Issue with long string CALC$ Kuldeep Joshi via Tech-talk
- Next:
Re: base-7.0.6 long string$ bug? Re: Calc Module of SynApps: Issue with long string CALC$ Pete Jemian 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:
Re: Calc Module of SynApps: Issue with long string CALC$ Kuldeep Joshi via Tech-talk
- Next:
Re: base-7.0.6 long string$ bug? Re: Calc Module of SynApps: Issue with long string CALC$ Pete Jemian 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
|