Argonne National Laboratory

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 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
<== Date ==> <== Thread ==>

Subject: RE: ca CLI tool display problem
From: "Shen, Guobao" <gshen1@aps.anl.gov>
To: Hugo Slepicka <hhslepicka@gmail.com>, Michael Davidsaver <mdavidsaver@gmail.com>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Fri, 14 Jul 2017 17:22:13 +0000
Interesting.
I tried 3.15.5 and 3.16.1, and had the same behavior. But the -F works as it should be.
Weird...



From: Hugo Slepicka [hhslepicka@gmail.com]
Sent: Friday, July 14, 2017 12:15 PM
To: Michael Davidsaver; Shen, Guobao; tech-talk@aps.anl.gov
Subject: Re: ca CLI tool display problem

Hi Guobao,

I just did a quick test here using RHEL7 and EPICS Base R3.15.5 and my output looks normal...

slepicka@ioc-tst-12 ~ $ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)


slepicka@ioc-tst-12 ~ $ caget TST:IOC:FLIR:01:MEM_MAX
TST:IOC:FLIR:01:MEM_MAX        1.67902e+10

slepicka@ioc-tst-12 ~ $ caget -F '|' TST:IOC:FLIR:01:MEM_MAX
TST:IOC:FLIR:01:MEM_MAX|1.67902e+10

slepicka@ioc-tst-12 ~ $ caget -F '' TST:IOC:FLIR:01:MEM_MAX
TST:IOC:FLIR:01:MEM_MAX1.67902e+10

slepicka@ioc-tst-12 ~ $ caget -F '$' TST:IOC:FLIR:01:MEM_MAX
TST:IOC:FLIR:01:MEM_MAX$1.67902e+10

slepicka@ioc-tst-12 ~ $ caget -F '$$$' TST:IOC:FLIR:01:MEM_MAX
TST:IOC:FLIR:01:MEM_MAX$1.67902e+10

slepicka@ioc-tst-12 ~ $ caget TST:IOC:FLIR:01:MEM_MAX
TST:IOC:FLIR:01:MEM_MAX        1.67902e+10

Cheers,
Hugo

On Fri, Jul 14, 2017 at 9:54 AM Michael Davidsaver <mdavidsaver@gmail.com> wrote:
On 07/14/2017 06:34 PM, Shen, Guobao wrote:
> That works.
> $ caget -F '|' V:1-SR:C30-MG:GIRDER1{QH3:2981}Fld:I
> V:1-SR:C30-MG:GIRDER1{QH3:2981}Fld:I|-1.75394
> $ caget -F ' ' V:1-SR:C30-MG:GIRDER1{QH3:2981}Fld:I
> V:1-SR:C30-MG:GIRDER1{QH3:2981}Fld:I -1.75394
> $ caget -F '$' V:1-SR:C30-MG:GIRDER1{QH3:2981}Fld:I
> V:1-SR:C30-MG:GIRDER1{QH3:2981}Fld:I$-1.75394
> $ caget -F '$$$' V:1-SR:C30-MG:GIRDER1{QH3:2981}Fld:I
> V:1-SR:C30-MG:GIRDER1{QH3:2981}Fld:I$-1.75394
>
> I am not sure whether I like to have that.
> Is there any specific reason to introduce it?

You shouldn't have to.  The default should be the same as:

> caget -F ' ' V:1-SR:C30-MG:GIRDER1{QH3:2981}Fld:I

Can you try this just to be certain?

I'm wondering if this might be something to do with your terminal font.


References:
ca CLI tool display problem Shen, Guobao
Re: ca CLI tool display problem Michael Davidsaver
RE: ca CLI tool display problem Shen, Guobao
Re: ca CLI tool display problem Michael Davidsaver
Re: ca CLI tool display problem Hugo Slepicka

Navigate by Date:
Prev: Re: ca CLI tool display problem Hugo Slepicka
Next: Re: NI4882 GPIB support for Linux 64bit? Dennis Nicklaus
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
Navigate by Thread:
Prev: Re: ca CLI tool display problem Hugo Slepicka
Next: Debian packages for debian 9 (stretch) ? Carlos Pascual
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
ANJ, 17 Jul 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·