From the error you mentioned it sounds like either Concentric Rake is getting either an invalid or wrong type of ROI. Can you post your code or a screenshot of your diagram so we can take a look?
Can you put a probe on the the output of IMAQ WindGetROI to see what ROI is being passed to IMAQ Concentric Rake?
My guess is that there's no ROI on the image window and that's why IMAQ Concentric Rake is returning an error. You may have to loop and wait until there's actually an ROI on the window before calling IMAQ Concentric Rake. Another alternative would be to call IMAQ Construct ROI (to let the user select an ROI and click "OK") to get the ROI.
I'm more used to writing code using the Image Display Control instead of the Wind* functions, so hopefully one of these suggestions will work 🙂
Whoops - my mistake! IMAQ Concentric Rake only works on ROIs that are an annulus. If you want to do a Rake-type operation on a rectangle use IMAQ Rake instead.