Quote:
Originally Posted by Cody Trey
ok, when I do that i get
ColorImage img; //error: no matching function for call to 'ColorImgae::ColorImage()'
camera.GetImage(&img);
if you want I'll post the whole code as it stands now if you think it'll help
|
Whoops, I forgot that ColorImage doesn't have a default constructor.
I believe it is:
ColorImage img(IMAQ_RGB_IMAGE);
You'll have to take a look at the constructor for ColorImage. Click on it, hit f3, and see what enumeration it requires. Hit f3 of the enumeration type, and it should take you to a list of options. You want the RGB one. Unfortunately, I'm once again at home, so I don't have our code in front of me.