EPICS Home

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  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: caget -d DBR_...INT doesn't work
From: Érico Nogueira Rolim via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 8 Nov 2023 13:45:44 +0000
Hi there!


This was an inconsistency I noticed in caget. The help output lists
multiple DBR_...INT types as options for caget's -d option, but none of
them work, because the dbr_text array from
modules/ca/src/client/access.cpp includes only DBR_...SHORT strings.
Would it be okay to simply remove the INT options from the help output
entirely? Or should the tool try and replace "INT" for "SHORT", similar
to how it adds "DBR_" when it doesn't find a match at first?


Somewhat related to that, it seems a bit confusing that some pieces of
code use DBR_INT instead of standardizing on DBR_SHORT. Would a patch
moving everything to DBR_SHORT be of interest?


Cheers,

Érico


Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.

Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.

Replies:
Re: caget -d DBR_...INT doesn't work Michael Davidsaver via Tech-talk

Navigate by Date:
Prev: second relative motion stuck in a do loop Tran, Phi Dung via Tech-talk
Next: CS-Studio XY Graph problem with >2046 samples Heesterman, Peter 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  <20232024 
Navigate by Thread:
Prev: Re: second relative motion stuck in a do loop Kevin Peterson via Tech-talk
Next: Re: caget -d DBR_...INT doesn't work Michael Davidsaver 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  <20232024