EPICS Controls 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  2018  2019  2020  <20212022  2023  2024  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  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Odd characters in temperatures showing in Phoebus
From: "Leblanc, Gregory via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 4 Oct 2021 20:45:10 +0000

Well, that gives me some interesting results. 

 

Full dump at: https://pastebin.com/4iqDBfem

 

TL;DR:

> caget -d CTRL_DOUBLE SP_Cesium:Oven_Heater:ProcessValue1

    Units:            ┬░

> ssh elsewhere & return

> caget -d CTRL_DOUBLE SP_Cesium:Oven_Heater:ProcessValue1

    Units:            °

 

Same behavior using PowerShell and command prompt.  I don’t see any change to $OutputEncoding before or after the ssh command, nor does manually setting $OutputEncoding = [System.Text.Encoding]::UTF8 make any difference.  Chcp reports the same active code page before and after ssh (437), so that doesn’t seem to be the right direction.  I don’t have hexdump on windows, yet. 

     Greg

 

From: Kasemir, Kay <kasemirk at ornl.gov>
Sent: Monday, October 4, 2021 3:43 PM
To: tech-talk at aps.anl.gov; Leblanc, Gregory <leblanc at ohio.edu>
Subject: Re: Odd characters in temperatures showing in Phoebus

 

> caget SP_Cesium:Oven_Heater:ProcessValue1

SP_Cesium:Oven_Heater:ProcessValue1 22.855

 

Try

   caget -d CTRL_DOUBLE SP_Cesium:Oven_Heater:ProcessValue1

and note the 'Units'.

Also try

   caget -d CTRL_DOUBLESP_Cesium:Oven_Heater:ProcessValue1 | hexdump -c

to see exactly what characters follow the "Units:"...

 

Fundamentally, phoebus will allow UTF-8 encoded text for the units.

 

-Kay

 


References:
Odd characters in temperatures showing in Phoebus Leblanc, Gregory via Tech-talk
Re: Odd characters in temperatures showing in Phoebus Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Re: Odd characters in temperatures showing in Phoebus Kasemir, Kay via Tech-talk
Next: pvaPy: PvObject - odict_keys not subscriptable issue Kuldeep Joshi 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  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Odd characters in temperatures showing in Phoebus Kasemir, Kay via Tech-talk
Next: RE: Odd characters in temperatures showing in Phoebus Leblanc, Gregory 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  <20212022  2023  2024 
ANJ, 05 Oct 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·