LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to send image converted to string to remote pc over tcp/ip

 Hi ALL,

 

I think I have a similar problem, I need to send the .bz file into unit via tcp/ip, can anyone knows how to deo it.

 

thanks in advance,

 

BR,

toberts

0 Kudos
Message 11 of 15
(1,705 Views)

What is a ".bz" file?  Into what unit are you talking about?

 

Please provide more information.

0 Kudos
Message 12 of 15
(1,699 Views)
Read the file as binary data then flatten to string and send it across. Do the reverse on the other end.
.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
.....),---.(_(____)/.....
....// (..) ),----/....
...//____//......
..//____//......
.//____//......
..-------
0 Kudos
Message 13 of 15
(1,669 Views)

Hii..

 

 

          I have developed a client-server model for image processing application. I used shared variables for sending images from client to server and vice versa. First, I converted the image into 1D array and then transferred using shared variables. When I operate my server from client on internet, it was very slow because it is a long array of 160*160 elements (each is Uint32). 

 

 

I have seen andrey's Example.  In this, the image is simply transferred by flattening and unflattening. 

 

 

Which one is more efficient in terms of speed.

 

Thanks

Prashanth 

0 Kudos
Message 14 of 15
(1,566 Views)

Hi, prashiit,

 

don't use Shared Variables if you need high transfer, because you will get overhead caused by internal Shared Variables tcp protocol.

 

Andrey.

0 Kudos
Message 15 of 15
(1,563 Views)