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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: UCHAR to BitArray conversion |
From: | <[email protected]> |
To: | <[email protected]> |
Date: | Thu, 25 Jun 2015 14:37:44 +0000 |
Is your device sending this data as a stream of bytes (eg over a serial line)? If so I would suggest you use stream device to parse your input into 5 mbbiDirect records. What do you want to do with the “bit array”? From: [email protected] [mailto:[email protected]]
On Behalf Of ishita bhatia 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. |