LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to load a picture through imaqReadFile() function inCVI?

 result=imaqReadFile(image2, "E:\\paper\\labview\\HelloWorld 3.5\\1.bmp", NULL,NULL);  

 

I try to load a picture into my CVI programm with above code,but also failed. I am looking forward to get help!

0 Kudos
Message 1 of 3
(2,175 Views)

the error shows :not an image

 

Is there any one know how to solve this problem

Message 2 of 3
(2,156 Views)

Hey Summer,

 

You should try running imaqGetLastError() so we can see why it's being rejected.  Does this work for all images?

 

Is the image in a location that can be read by your program?

 

-Bear

Regards,

Ben Johnson
ʕง•ᴥ•ʔง
0 Kudos
Message 3 of 3
(2,118 Views)