LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

digital waveform data to number

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

 

 

0 Kudos
Message 1 of 3
(3,294 Views)

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?

Regards

Robert

National Instruments UK & Ireland
0 Kudos
Message 2 of 3
(3,276 Views)

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,

 

0 Kudos
Message 3 of 3
(3,264 Views)