LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DataSocket and images

Is it possible to sent images or 2D arrays through a data socket? If yes,
can someone tell me how?
0 Kudos
Message 1 of 3
(2,995 Views)
Arjan,

One of the LabVIEW examples, that should have installed with LabVIEW on your
machine covers transferring a 3D graph graph using DataSocket ... that is
basically a 2D array.

In LabVIEW 6i I think everything it treated as a variant so you should be
able to pass any data type using the new VIs ... as long as your reader VI
can convert the data back from the Variant. That definately makes things
like transferring clusters a lot easier.

Hope that helps.
Kamran

"Arjan Meskers" wrote:
>>Is it possible to sent images or 2D arrays through a data socket? If yes,>can
someone tell me how?
0 Kudos
Message 2 of 3
(2,995 Views)
If you read the image file as short integers and then transmit the intergers
through data socket and then re-write the integers into a file on the other
side you may transmit images. I have done this with jpg's and bmp's several
times with no problem.
"Arjan Meskers" wrote in message
news:3a1ba78d@newsgroups.ni.com...
>
> Is it possible to sent images or 2D arrays through a data socket? If yes,
> can someone tell me how?
0 Kudos
Message 3 of 3
(2,995 Views)