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  <20152016  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  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: mbbiDirect record bits into ai record
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Thu, 2 Jul 2015 10:03:12 +0200
On Thursday 02 July 2015 11:39:51 Deepika Thakur wrote:
> Hi,
> How to get bits of mbbidirect into ai record? I have tried following
> setup but i am not getting any output from ai record
>
> record(mbbiDirect, mbbi1)
> {
>      field(SCAN, "Passive")
>      field(DTYP, "Soft Channel")
>      field(NOBT, "16")
>      field(INP, "tohex")
>
> }
>
> record(ai, ai1)
> {
>      field(SCAN, "Passive")
>      field(DTYP, "Soft Channel")
>      field(INP, "mbbi1.B1")
> }
>
> record(ai, ai2)
> {
>      field(SCAN, "Passive")
>      field(DTYP, "Soft Channel")
>      field(INP, "mbbi1.B2")
> }
>
> .
> .
> .
> .
> .
> record(ai, ai4)
> {
>      field(SCAN, "Passive")
>      field(DTYP, "Soft Channel")
>      field(INP, "mbbi1.BC")
> }

You probably want to use CPP for the INP links of the ai records. See
Chapter 5 of the Application Developer's Guide. This is the chapter you
*must* read if you want to understand how to do EPICS Database
development.

Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


References:
mbbiDirect record bits into ai record Deepika Thakur

Navigate by Date:
Prev: mbbiDirect record bits into ai record Deepika Thakur
Next: stream device - multiple values from a string S. Banerian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: mbbiDirect record bits into ai record Deepika Thakur
Next: stream device - multiple values from a string S. Banerian
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·