Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

DATASOCKET and IMAGES - How do I pass images through Datasockets?

I can write IMAQ images to Datasockets, but have yet been unable to read the images back out! All I get is an error saying :
IMAQ Vision: (Hex 0xBFF60428) Not an image.
Can you not pass images through datasockets? Or do I need to convert the images too something else and back again for the trip through the Datasocket?
0 Kudos
Message 1 of 2
(3,487 Views)
Hi Ian,

You will want to convert the image to an array first before you pass it through datasocket. On the receiving end, convert the array back to image with a new image buffer.

The pink image wire in LabVIEW is more or less a pointer to a memory location, so you can't just pass this through using Datasocket.

Hope this helps.

Ken Sun
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,487 Views)