Example Code

Image pointer IMAQArrayToImage

Code and Documents

Attachment

The following CVI code, showed how to use IMAQArrayToImage. You have to create the image before using this function otherwise you will get error saying " Not an Image".

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
佩林
Member
Member
on

Thank you very much ! It's very useful for the function use.

Would you help me explain the following statement?

int array[10][3] = {{2,1,3},{1,0,0},{255,255,255},{255,255,255},{255,255,255},{255,255,255},{255,255,255},{255,255,255},{255,255,255},{255,255,255}};

Is it the data we received ?

Thank you very much !

Best regards !

I wouldn't care success or failure,for I will only struggle ahead as long as I have been destined to the distance.
Contributors