EPICS Home

Experimental Physics and Industrial Control System


 
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  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Calc Module of SynApps: Issue with long string CALC$
From: Kuldeep Joshi via Tech-talk <tech-talk at aps.anl.gov>
To: "Kasemir, Kay" <kasemirk at ornl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Sat, 7 Aug 2021 11:23:12 +0000

> Can't duplicate. This is my example record:
>
> # Executed with softIoc -d ... from EPICS R7.0.4.1
>
> record(calc, "test_calc")
>
> {
>
>     field(SCAN, "1 second")
>
>     field(CALC, "RNDM*100")
>
> }
>
> The CALC is served as a STRING and works OK with the default format.
> The CALC$ is served as a BYTE array, by default displayed as such, so need to set Format do String:

When i populate the CALC field in the db file, it is seen properly in the phoebus. If i try to change the formulae from phoebus gui, only the first character gets set in the calc field.

I am using the adl files of synapps which are converted to bob. If u see the screenshot the format is string. With this i am able to see the calc field already set using the db file.

> So you have a different release of EPICS base?

I am using 7.0.6 version

> Did you switch phoebus to default to pva:// instead of ca://?

I have set it to to use the org.phoebus.pv.ca/addr_list=127.0.0.1
parameter in the settings.ini file.
Pl tell me of proper way to do it.

The userCalc1 of synapps uses swait record. It is recommended to use calcout instead.

Does it have anything to do with it?

Kuldeep
Replies:
Re: Calc Module of SynApps: Issue with long string CALC$ Kuldeep Joshi 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

Navigate by Date:
Prev: Re: ADURL with Axis PTZ network camera Mark Rivers via Tech-talk
Next: Re: Calc Module of SynApps: Issue with long string CALC$ Kuldeep Joshi 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: [EXTERNAL] Calc Module of SynApps: Issue with long string CALC$ Kasemir, Kay via Tech-talk
Next: Re: Calc Module of SynApps: Issue with long string CALC$ Kuldeep Joshi 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  <20212022  2023  2024