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(binary-bits array)
From: ishita bhatia <[email protected]>
To: Mark Rivers <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Mon, 29 Jun 2015 11:02:01 +0530
Hello Mark,
As u have asked in previous post, my end goal is to get reading of OPTO card in form of binary (1's and 0's) where  1 would represent ON status and 0 would represent OFF status. That is why the data which I am receiving from waveform record(data type: Uchar), I want that data in form of  Binary.
Now as I want data in form of binary, I passed the output of waveform record in mbbiDirect but the output I am getting from mbbiDirect is in form of 1 binary bit at a time....but I want output as array of binary bits(32 binary bits as output of my waveform record contains 4 bytes). So please tell me how to get such output or which record should I use to get that output.
I hope I am making my point clear.

Replies:
Re: UCHAR to BitArray conversion(binary-bits array) Ralph Lange
RE: UCHAR to BitArray conversion(binary-bits array) Mark Rivers

Navigate by Date:
Prev: RE: UCHAR to BitArray conversion Mark Rivers
Next: Re: UCHAR to BitArray conversion(binary-bits array) Ralph Lange
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: IOC without iocsh Andrew Johnson
Next: Re: UCHAR to BitArray conversion(binary-bits array) Ralph Lange
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 ·