Experimental Physics and Industrial Control System
Ernest,
You can test int64inRecord with the softIocPVA executable.
> cat <<EOF >test64.db
> record(int64in, "test:i64") {
> field(VAL, "0x7fffffffffffffff")
> }
> EOF
> softIocPVA -d test64.db
then
> pvget test:i64
> test:i64 <undefined> 9223372036854775807
If you do try, please also pull down the latest which includes a
candidate fix.
https://github.com/epics-base/pva2pva/issues/25#issuecomment-452429849
On 1/8/19 7:58 AM, Williams Jr., Ernest L. via Core-talk wrote:
> Hi Timo,
>
>
> Response below
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> *From:* [email protected] <[email protected]> on behalf of Timo Korhonen via Core-talk <[email protected]>
> *Sent:* Tuesday, January 8, 2019 3:08 AM
> *To:* EPICS Core Talk
> *Subject:* 64-bit records
>
> Hi all,
>
> I made a quick try to use the 64-bit record types (int64in/int64out) with base 7.0.2.
>
> Trying to pvget the record, I get the following message on the IOC console:
>
> epics> 2019-01-08T11:43:50.309 an exception caught while in receiveThread at ../../src/remote/codec.cpp:1144: Unsupported DBR code
>
> And pvget times out. With caget, I can read the value but as expected, I do not get the 64-bit integer (because ca does not support it, obviously).
>
> Any ideas? Maybe I am missing some configuration, but I could not figure out from the release notes if I needed to do something extra.
>
> This is on Mac OSX El Capitan, 10.11.6. I can try other platforms later but at the first sight this does not appear to be a platform-specific issue.
>
> =============================================================================================
> *>>>>: ELW:*
>
> I would also like to try this on my platforms here at SLAC.
>
>
> Can you share what you have for your IOC?
>
> E.g. <TOP>/xxxApp/src/Makefile
>
> <TOP>/xxxApp/Db/*.db
>
> <TOP>/iocBoot/<ioc>/st.cmd
>
>
>
> ernesto@localhost (7.0) $ pwd
> /usr/local/controls/epics/base/R7.0.2/dbd
> ernesto@localhost (7.0) $ grep int64in *
> devSoft.dbd:device(int64in,CONSTANT,devI64inSoft,"Soft Channel")
> devSoft.dbd:device(int64in,CONSTANT,devI64inSoftCallback,"Async Soft Channel")
> int64inRecord.dbd:recordtype(int64in) {
> softIoc.dbd:recordtype(int64in) {
> softIoc.dbd:device(int64in, CONSTANT, devI64inSoft, "Soft Channel")
> softIoc.dbd:device(int64in, CONSTANT, devI64inSoftCallback, "Async Soft Channel")
> softIocPVA.dbd:recordtype(int64in) {
> softIocPVA.dbd:device(int64in, CONSTANT, devI64inSoft, "Soft Channel")
> softIocPVA.dbd:device(int64in, CONSTANT, devI64inSoftCallback, "Async Soft Channel")
> stdRecords.dbd:include "int64inRecord.dbd"
> ernesto@localhost (7.0) $
>
> ==============================================================================================
> Cheers,
> Ernesto
>
>
>
> Timo
>
- References:
- 64-bit records Timo Korhonen via Core-talk
- Re: 64-bit records Williams Jr., Ernest L. via Core-talk
- Navigate by Date:
- Prev:
Re: 64-bit records Michael Davidsaver via Core-talk
- Next:
Jenkins build became unstable: epics-7.0 » mac #94 APS Jenkins via Core-talk
- Index:
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: 64-bit records Williams Jr., Ernest L. via Core-talk
- Next:
Re: 64-bit records Michael Davidsaver via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024