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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: MEDEM sexagesimal number format |
From: | Luca Cavalli <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Tue, 29 Nov 2016 12:14:42 +0000 |
Hi all, I'm testing the sexagesimal number format in MEDEM, but I'm experiencing a strange behaviour. I have defined an ao PV named AAA with and MEDEM Text Entry with sexagesimal number format. In a terminal window I'm monitoring the AAA PV with camonitor. As soon as I set in MEDEM the sexagesimal value 12:34:56.789 the PV assumes the correct value, but immediately the value changes to something approximated. This is the camonitor output: $ camonitor -f16 AAA AAA 2016-11-28 17:24:05.143777 0.0000000000000000 AAA 2016-11-28 17:24:18.312258 12.5824413888888884 AAA 2016-11-28 17:24:18.312329 12.5824409999999993 As soon as the PV gets it last value, the MEDEM Text Entry modifies it content to 12:34:56.787599999997. It seems that MEDEM applies some correction to the read-back value during conversion back to sexagesimal format (and looking MEDEM source code indeed this is the case, but only to avoid string manipulation due to reminders, this modified value is discarded after sexagesimal string conversion). I'm testing converted values also with this online converter: http://www.astrosurf.com/astronosur/conversion.htm I'm asking this because I'm porting this feature to CSS (CSS team, a patch will follow soon :) and I'm having the very same behavior also with CSS. Thanks, Luca
<< Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo
ad eliminarlo e a darcene gentile comunicazione. Quanto precede ai fini del rispetto delle Legge 675/96 e del Decreto Legislativo 30/06/2003 n.196, sulla tutela dei dati personali >>
<< This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use
it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Please contact our IT Helpdesk on +3902380481 or email [email protected] if you need assistance >>