ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Image Type while converting Image into array

Hi,

          I am using CVS 1454to grab images from a firwire camera.these images, after flattening into stringare transmitteed from CVS to local computer using TCP/IP communication and thenunflattening from string into image.

 

 

This is workingfine.The problem occurs when i try to convert unflattened image into array onthe host computer.An error appears on the image to array VI "Invalid ImageType"

 

I am using LV 8.2 .

 

Thanks 

0 Kudos
Message 1 of 4
(3,801 Views)

I would check two things, I will see if you will get the same error if you tried a different image that has not been flattened before. Also, I will try to use the IMAQ ImageToArray VI before transmitting to see if it gives a similar error. This way you can isolate the source of the error.

 

E.Hamdan

Applications Engineer

Message Edited by esmaham on 03-29-2010 03:38 PM
0 Kudos
Message 2 of 4
(3,780 Views)

you can try this

 

 

0 Kudos
Message 3 of 4
(3,750 Views)
Helped?
0 Kudos
Message 4 of 4
(3,716 Views)