07-20-2021 04:16 AM
I installed LabVIEW NXG 5.0, NOT LabVIEW. I want to send an image from one device to other device. But how to operate the image type file, just like .jpeg. I can't find function to operate this file. please help!!!
07-20-2021 04:33 AM
Hi akjoker,
@akjoker wrote:
I installed LabVIEW NXG 5.0, NOT LabVIEW.
@akjoker wrote:
I want to send an image from one device to other device. But how to operate the image type file, just like .jpeg. I can't find function to operate this file.
What do you mean by "operate"?
Do you want to send the file (byte by byte) from one computer to the other? Or do you want to convert the data from compressed format (like JPG) to a "raw" stream of RGB values and send that to your "other device"?
Can't you load binary files in NXG? I'm pretty sure this is supported…
07-20-2021 07:40 AM
Thanks for your reply.
OK , actually. I try to send an image from one PC to other PC by two USRPs. Two USRPs transmit data wirelessly. So I think image file should be converted into binary bit stream and sent by modulation signal. But I don't know how to convert. Is there a function can do this? Please help me or give me an example about this.
07-20-2021 08:29 AM
Is there a reason you want to make this needlessly complicated, or is this just an exercise so you can learn how to use USRP? (Which is a totally valid reason.) I would just use a network connection (even a wireless one) and most of the legwork is done for you.
07-20-2021 08:50 AM
Like @billko, I am a little confused on what you are trying to transfer. I understand you have an "image type file" on one computer, and want to "send it" to another. Here are some questions that Bill and I would like to know:
Bob Schor
07-20-2021 10:07 AM
Thanks for your reply.
Actually , the format of this image is .jpeg. Then I just want to know how to convert it into binary bit stream. Can you give an example about this process or tell me which function can do this?
07-20-2021 11:58 AM
Again, I have to ask, "Why make this so complicated?". Is using USRP a requirement? It would be a lot easier to used canned, well-understood protocols like FTP over TCP/IP.
07-20-2021 08:52 PM
Well. I try to study acknowledge about USRP and wireless transmissions. So I hope to send it by modulation signal not by TCP or others.
07-20-2021 11:54 PM
@akjoker wrote:
Well. I try to study acknowledge about USRP and wireless transmissions. So I hope to send it by modulation signal not by TCP or others.
Excellent! You are trying to increase your knowledge by doing something new and difficult. I have to admit that I am going to be in learning mode as well for this topic.
07-21-2021 02:43 AM
So, we don't discuss knowledge about USRP. Back to the original question. In LabVIEW NXG, how to convert an image into binary bit stream? how to get image resolution and image size? Are there some functions can do these? Does LabVIEW NXG have this function?