04-11-2011 11:24 AM
Hi All,
I wish to convert a serial data bit stream from hardware ( digital waveform) into an array of numbers. The bit stream will be 8M bits that must be converted 200000 x 40bit words. Of this word 24 bits are extracted i.e. my data (and 16 bit for status bits etc...I don't particularly care about these at the moment.)
So, is there a way of converting the waveform and extracting my 24bits to a U32 without having to convert to a boolean as boolean are pretty hefty on memory and I believe this will be an issue.
I cannont take smaller than 8M acquistions as I need continous data.
Is there any easier way to convert from digital?
Thanks
04-13-2011 04:57 AM
Hi ds_1
Does this have to be done on the fly or can it be converted at a slower rate?
What platform are you programming this on?
How large is the application that this is sitting within?
04-14-2011 11:20 AM - edited 04-14-2011 11:29 AM
Hi Robert,
The application itself may expand, it is more for Lab experiments so may never get built into an .exe as it may be in prolonged state of flux.
I guess this will have to be converted at a slower rate as 8M acquisition could occur in ~200mS, yet there will be further processing of the data so I would wish the overall time between acquistions to get too lengthy.
I guess the main thing is if the data is presented as a digital bitstream is there a more efficient way to extract the data words as I require?
Thanks,