Experimental Physics and Industrial Control System
|
Hi,
Thank you for yor help, is effect on get operation I use the default request, so Iat this point I need to use
pvd::createRequest("field(value, timeStamp, alarm, display, control, valueAlarm)")); to retrieve all field
I’ll give a try!
Thank you very much.
Claudio
From:
Veseli, Sinisa <sveseli at anl.gov>
Date: Friday, 5 May 2023 at 09:55
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>, Bisegni, Claudio <bisegni at slac.stanford.edu>
Subject: Re: timestampField not retrieved using CA provider for pvac::ClientChannel
I am not sure exactly why is there a difference in behavior between caget and pvget, but you should be able to get timestamps if you request them explicitly:
$ caget -a S01-DAQTBT:Strm:DataCaptureC
S01-DAQTBT:Strm:DataCaptureC 2023-05-03 10:51:26.834121 Off
PV request string like field(value,timeStamp) should work from C++:
>>> from pvapy import *
>>> c = Channel('S01-DAQTBT:Strm:DataCaptureC', CA)
>>> print(c.get('field(value,timeStamp)'))
string[] choices [Off, On]
long secondsPastEpoch 1683129086
int nanoseconds 834120910
Scientific Software Engineering & Data Management
Argonne National Laboratory
(630)252-9182
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Bisegni, Claudio via Tech-talk <tech-talk at aps.anl.gov>
Sent: Friday, May 5, 2023 11:39 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: timestampField not retrieved using CA provider for pvac::ClientChannel
Hello EPICS tech,
I'm working with last epics release and I have notice that making a get operation for an IOC using a CA provider for crete a pvac::ClientChannel I don't receive the timestamp field:
I noticed that also the official caget has the problem:
developer@e058f4bc2090:/workspace$ pvget variable:sum
variable:sum 2023-05-05 16:34:54.607 3
developer@e058f4bc2090:/workspace$ caget variable:sum
variable:sum 3
so is a client library problem or a server or something else?
Thank
you in advance.
Claudio
|
- Replies:
- Re: timestampField not retrieved using CA provider for pvac::ClientChannel Bisegni, Claudio via Tech-talk
- References:
- timestampField not retrieved using CA provider for pvac::ClientChannel Bisegni, Claudio via Tech-talk
- Re: timestampField not retrieved using CA provider for pvac::ClientChannel Veseli, Sinisa via Tech-talk
- Navigate by Date:
- Prev:
Re: timestampField not retrieved using CA provider for pvac::ClientChannel Veseli, Sinisa via Tech-talk
- Next:
Re: timestampField not retrieved using CA provider for pvac::ClientChannel Bisegni, Claudio 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: timestampField not retrieved using CA provider for pvac::ClientChannel Veseli, Sinisa via Tech-talk
- Next:
Re: timestampField not retrieved using CA provider for pvac::ClientChannel Bisegni, Claudio 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
|
ANJ, 05 May 2023 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|