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: "Mooney, Tim M." <[email protected]>
To: ishita bhatia <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 24 Jun 2015 15:25:07 +0000
I would do this with an aSub record.

For clarity,  I think what you want is to convert 50 66 64 51, which is hex 32 42 40 33, to 0x32424033.
If so, I don't know how to do it without writing code.

Tim Mooney ([email protected]) (630)252-5417
Software Services Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab


From: [email protected] [[email protected]] on behalf of ishita bhatia [[email protected]]
Sent: Wednesday, June 24, 2015 4:12 AM
To: [email protected]
Subject: UCHAR to BitArray conversion

Data have been recieved from VME through Waveform record in UCHAR. OUtput we get through waveform record is: waf 4 50 66 64 51.
Now we wan't to get output as 32-bit array(bitArray). For that we used mbbiDirect record, but output we are getting is either 0 or sometimes output is empty i.e. just the name of record.

kindly suggest how to get correct output in form of BitArray using mbbiDirect record or is there any other way to convert UCHAR to bitArray.


Replies:
Re: UCHAR to BitArray conversion Ralph Lange
References:
UCHAR to BitArray conversion ishita bhatia

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