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: UCHAR to BitArray conversion
From: ishita bhatia <[email protected]>
To: Ralph Lange <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Thu, 25 Jun 2015 16:47:42 +0530
Hello,

How can i get output of mbbiDirect record in form of bitArray ? Is there any record available in VDCT to get such output.

To get understanding of mbbiDirect record i tried following:

I have taken a decimal value (for eg.4 ) in ai record. This value is given as input in mbbiDirect record (for eg. bits). Now when i run ioc, i give command

caget bits.B0
 I get output as 1 i.e. just one bit of 100(binary of 4). then when I run caget bits.B1, i get output 0...same caget bits.B1 gives 0.
but as this mbbiDirect gives bit by bit output, i wan't to get output in form of bitArray.

My main requirement is i am getting output from waveform record as waf 4 50 66 64 51(this is the output which i have got from VME using asyn record )which i wan't to convert in binary or bitArray form. So kindly suggest me how to do it without code or even if I create a device support how will i fetch this data (waf 4 50 66 64 5)from VDCT to device support to create the logic.


Replies:
RE: UCHAR to BitArray conversion Mark Rivers
RE: UCHAR to BitArray conversion peter.owens
References:
UCHAR to BitArray conversion ishita bhatia
RE: UCHAR to BitArray conversion Mooney, Tim M.
Re: UCHAR to BitArray conversion Ralph Lange

Navigate by Date:
Prev: RE: EPICS base-3.14.12.5 installation error freddie.akeroyd
Next: RE: UCHAR to BitArray conversion Mark Rivers
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: Re: UCHAR to BitArray conversion Ralph Lange
Next: RE: UCHAR to BitArray conversion Mark Rivers
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 ·