You are not really making you point clear, sorry.
Again: what is the C declaration you would use to declare the data in
the type you want?
Just a wild guess: have you tried looking at the VAL field of your
mbbiDirect record?
It's not an array, and there is no "binary bit" type in C, but the VAL
field contains all the bits in a single 32bit value, which might be what
you are looking for.
Cheers,
~Ralph
On 29/06/2015 07:32, ishita bhatia wrote:
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.
- References:
- Re: UCHAR to BitArray conversion(binary-bits array) ishita bhatia
- Navigate by Date:
- Prev:
Re: UCHAR to BitArray conversion(binary-bits array) ishita bhatia
- Next:
RE: UCHAR to BitArray conversion(binary-bits array) Mark Rivers
- 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
- Navigate by Thread:
- Prev:
Re: UCHAR to BitArray conversion(binary-bits array) ishita bhatia
- Next:
RE: UCHAR to BitArray conversion(binary-bits array) Mark Rivers
- 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
|