Subject: |
Re: print all information about a PV including units |
From: |
Marty Kraimer via Tech-talk <[email protected]> |
To: |
[email protected] |
Date: |
Wed, 20 Feb 2019 10:10:48 -0500 |
On 2/20/19 9:40 AM, Mark Rivers via Tech-talk wrote:
Something looks wrong. Why does the EGU field have type DBF_DOUBLE?
Is the problem the . In the record name?
Mark
Just to add to what Mark said.
A record name is not allowed to have a character '.' as part of the name.
The AppDevGuide states:
record name The record name. This must be composed out of only the
following characters: a-z A-Z 0-9 _ - + : [ ] < > ;
In "BMH:MQC2LE:POS.PXP.EGU" the first '.' indicates the end of the
record name.
So the record name is "BMH:MQC2LE:POS".
Strange things can happen if you try to create a record with a '.' in
the record name.
Marty
Sent from my iPhone
On Feb 20, 2019, at 8:36 AM, rachid ayad via Tech-talk <[email protected]<mailto:[email protected]>> wrote:
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<http://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
On Wed, Feb 20, 2019 at 11:03 PM Dr. Bastian Löher <[email protected]<mailto:[email protected]>> wrote:
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<http://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]<mailto:[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]<mailto:[email protected]>
GSI Helmholtzzentrum für Schwerionenforschung GmbH
Planckstraße 1, 64291 Darmstadt, Germany, www.gsi.de<http://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 Johnson, Andrew N. 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
- Re: print all information about a PV including units rachid ayad via Tech-talk
- Re: print all information about a PV including units Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Re: print all information about a PV including units Mark Rivers via Tech-talk
- Next:
Question about rdb channel archive lzf neu 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 Mark Rivers via Tech-talk
- Next:
Re: print all information about a PV including units Johnson, Andrew N. 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
|