I have been using pvget as well as the CPP API to attempt to set up a request for a v3 IOC that populates the timeStamp and display.units fields. For some reason, whenever i use anything from display, it stops timeStamp from being populated. I know the PVRequest is order-dependent, so I have tried moving the order of the fields around, but this doesn't help. I think this may be a bug, I am not sure if it affects V4 IOCs but i'd imagine someone would have flagged it up earlier if so.
Here is my output with a pvget request in channel access mode, you can see that the timestamp does not appear in the PV structure:
pvget SIMPLE:DOUBLE -r "value, alarm, timeStamp, display.units" -p ca
SIMPLE:DOUBLE
structure
double value 1
alarm_t alarm NO_ALARM NO_STATUS NO_ALARM
structure display
string units mm
Here is the output with the request without display (anything in display seems to prevent the timestamp being shown)
pvget SIMPLE:DOUBLE -r "value, alarm, timeStamp" -p ca
SIMPLE:DOUBLE
epics:nt/NTScalar:1.0
double value 1
alarm_t alarm NO_ALARM NO_STATUS NO_ALARM
time_t timeStamp 2019-02-28T14:39:06.177 0
Any help or verification that this may or may not be a bug would be appreciated.
Thanks,
Jack
[cid:7c128533-7c50-4c8a-b085-dbf0ac080bf5]
- Replies:
- Re: timeStamp in pvget request not populated when using display field in v3 IOC Johnson, Andrew N. via Tech-talk
- Navigate by Date:
- Prev:
EPICS support for walter + bai Testing Machines tom.cobb--- via Tech-talk
- Next:
asynDriver - update record (timestamp), on no change Joao Afonso 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:
EPICS support for walter + bai Testing Machines tom.cobb--- via Tech-talk
- Next:
Re: timeStamp in pvget request not populated when using display field in v3 IOC Johnson, Andrew N. 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
|