Dear Bastian, Is still the same:
************** caget BMH:MQC2LE:POS.PXP.EGU BMH:MQC2LE:POS.PXP.EGU 0
labm@labmpc:~$ cainfo BMH:MQC2LE:POS.PXP.EGU BMH:MQC2LE:POS.PXP.EGU State: connected Host: 130.87.82.88:5064 Access: read, no write Native data type: DBF_DOUBLE Request type: DBR_DOUBLE Element count: 1 ***********
I think maybe they did not set the units when they created the PV???
Thank you, Rachid
Dear Rachid,
one way would be to directly request the .EGU field of the PV, i.e.
caget BMH:MQC2LE:POS.PXP.EGU
All the best
Bastian
On 190220-1321, rachid ayad via Tech-talk wrote:
> Dear All,
>
> I would like to ask you how print wide information about a PV using the
> epics command cainfo. For example a cainfo shell command gives:
> **************
> cainfo BMH:MQC2LE:POS.PXP
> BMH:MQC2LE:POS.PXP
> State: connected
> Host: abcob02.kek.jp:5064
> Access: read, no write
> Native data type: DBF_DOUBLE
> Request type: DBR_DOUBLE
> Element count: 1
> *************
> without units and I tried all options given in "caninfo -h" but did not
> work. I found I can do it in a C code to print the val structure but I need
> it in shell command
>
> Thank you, Rachid
>
> --
> Dr. Rachid Ayad
> Department of Physics, Faculty of Science
> University Of Tabuk
> P.O. Box 2072
> Tabuk 71451
> Kingdom Of Saudi Arabia
> Tel: +966560296632
>
> --
>
>
>
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>
> هذه الرسالة و مرفقاتها (إن وجدت) تمثل وثيقة سرية قد تحتوي على معلومات
> تتمتع بحماية وحصانة قانونية . إذا لم تكن الشخص المعني بهذه الرسالة يجب عليك
> تنبيه المُرسل بخطأ وصولها إليك، و حذف الرسالة و مرفقاتها (إن وجدت) من
> الحاسب الآلي الخاص بك. ولا يجوز لك نسخ هذه الرسالة أو مرفقاتها (إن وجدت) أو
> أي جزئ منها، أو البوح بمحتوياتها لأي شخص أو استعمالها لأي غرض . علماً بأن
> الإفادات و الآراء التي تحويها هذه الرسالة تعبر فقط عن رأي المُرسل و ليس
> بالضرورة رأي جامعة تبوك . ولا تتحمل جامعة تبوك أي مسئولية عن الأضرار
> الناتجة عن أي فيروسات قد يحملها هذ البريد.
>
> This message and its
> attachment, if any, are confidential and may contain legally privileged
> information. If you are not the intended recipient, please contact the
> sender immediately and delete this message and its attachment , if any,
> from your system. You should not copy this message or disclose its contents
> to any other person or use it for any purpose. Statements and opinions
> expressed in this e-mail are those of the sender, and do not necessarily
> reflect those of University of Tabuk. University of Tabuk Accepts no
> liability for any damage caused by any virus transmitted by this email.
--
Dr. Bastian Löher
Data acquisition
Experiment controls
Detector development
R3B - Relativistic reactions with radioactive beams
Gamma spectroscopy
-- TU Darmstadt ---------------------------------------------------------------
Room / Raum: S2|14 418
Phone / Telefon: +49 6151 23532
Mobile / Mobil: +49 162 5467038
E-Mail: [email protected]
Institut für Kernphysik
Technische Universität Darmstadt
Schlossgartenstrasse 9, 64289 Darmstadt
http://www.ikp.tu-darmstadt.de
-- GSI ------------------------------------------------------------------------
Room / Raum: SB3 3.199
Phone / Telefon: +49 6159 71 2739, 3272
Fax: +49 6159 71 3007
Mobile / Mobil: +49 162 5467038
E-Mail: [email protected]
GSI Helmholtzzentrum für Schwerionenforschung GmbH
Planckstraße 1, 64291 Darmstadt, Germany, www.gsi.de
Commercial Register / Handelsregister: Amtsgericht Darmstadt, HRB 1528
Managing Directors / Geschäftsführung:
Professor Dr. Paolo Giubellino, Ursula Weyrich, Jörg Blaurock
Chairman of the Supervisory Board / Vorsitzender des GSI-Aufsichtsrats:
State Secretary / Staatssekretär Dr. Georg Schütte
--
Dr. Rachid Ayad Department of Physics, Faculty of Science
University Of Tabuk P.O. Box 2072 Tabuk 71451 Kingdom Of Saudi Arabia Tel: +966560296632
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- هذه الرسالة و مرفقاتها (إن وجدت) تمثل وثيقة سرية قد تحتوي على معلومات تتمتع بحماية وحصانة قانونية . إذا لم تكن الشخص المعني بهذه الرسالة يجب عليك تنبيه المُرسل بخطأ وصولها إليك، و حذف الرسالة و مرفقاتها (إن وجدت) من الحاسب الآلي الخاص بك. ولا يجوز لك نسخ هذه الرسالة أو مرفقاتها (إن وجدت) أو أي جزئ منها، أو البوح بمحتوياتها لأي شخص أو استعمالها لأي غرض . علماً بأن الإفادات و الآراء التي تحويها هذه الرسالة تعبر فقط عن رأي المُرسل و ليس بالضرورة رأي جامعة تبوك . ولا تتحمل جامعة تبوك أي مسئولية عن الأضرار الناتجة عن أي فيروسات قد يحملها هذ البريد. This message and its attachment, if any, are confidential and may contain legally privileged information. If you are not the intended recipient, please contact the sender immediately and delete this message and its attachment , if any, from your system. You should not copy this message or disclose its contents to any other person or use it for any purpose. Statements and opinions expressed in this e-mail are those of the sender, and do not necessarily reflect those of University of Tabuk. University of Tabuk Accepts no liability for any damage caused by any virus transmitted by this email.
- Replies:
- Re: print all information about a PV including units Mark Rivers via Tech-talk
- References:
- print all information about a PV including units rachid ayad via Tech-talk
- Re: print all information about a PV including units Dr. Bastian Löher via Tech-talk
- Navigate by Date:
- Prev:
Re: print all information about a PV including units Dr. Bastian Löher via Tech-talk
- Next:
Re: print all information about a PV including units Mark Rivers 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
2023
2024
- Navigate by Thread:
- Prev:
Re: print all information about a PV including units Dr. Bastian Löher via Tech-talk
- Next:
Re: print all information about a PV including units Mark Rivers 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
2023
2024
|