Hi Eric,
Cleaning out my INBOX after last week's meeting, sorry for the delay
responding...
On 05/30/2018 03:40 PM, Eric Norum wrote:
> The ‘-0x’ option doesn’t seem to affect mbbi RVAL readout. The first
> record below is a longin, the others are mbbi:
...
> I tried adding ‘-n’ to the options but that made no difference. The
> mbbi .RVAL values are printed in base 10, not base 16.
> Not a big deal, but does seem a little weird. Could it be that this is
> happening because the conversion to a string is happening at the IOC
> rather than the client (camonitor) end?
The -0x option only applies to PVs that are native integer types.
Unfortunately RVAL is a DBF_ULONG, and since CA doesn't support unsigned
types it gets presented to the CA server as the next larger type, which
is a DBF_DOUBLE, and as a result the -0x doesn't apply to it:
> tux% cainfo anj:mbbi3.RVAL
> anj:mbbi3.RVAL
> State: connected
> Host: tux.aps.anl.gov:5064
> Access: read, write
> Native data type: DBF_DOUBLE
> Request type: DBR_DOUBLE
> Element count: 1
This is the same issue we've seen many times before...
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- References:
- R3.15 camonitor formatting Eric Norum
- Navigate by Date:
- Prev:
Re: AW: EPICS Meeting Talk files Andrew Johnson
- Next:
Trouble building with Visual Studio 2017 Hammonds, John P.
- 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:
R3.15 camonitor formatting Eric Norum
- Next:
Reminder: EPICS Meeting Registration Andrew Johnson
- 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
|