LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

JPEG image data to a bit stream conversion

Hi,

 

I am doing a research on OFDM transceiver and initially I am planning to transmit a Picture message and receive it at far end. For this I need IMAQ Vis and since I am suing LabVIEW 2012 student version, I have no access to these vis. Can someone give me a clue how I convert JPEG image data to a output bit stream..(eg: seed in of a MT Generate bits vi)

 

Regards,

 

Ranjan

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

What format do expect this bit stream to be in? The easiest thing is simply to read the data from the file using the generic file read function and that will simply return an array of bytes (essentially a byte stream) represented as a string. You can then use String to Byte Array to convert it to a 1D U8 array. You might also be able to use the type input on the file read primitive to output the U8 array directly, but I never played too much with that, so I'm not sure what the specific details are.


___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(3,863 Views)

Hi Thanks I'll try this and let you know..

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