I'm not sure if this is a bug or not. I'm noticing some odd behavior with IMAQ Merge Overlay, when the overlay has a line with odd coordinates. In the attached VI, I use IMAQ Overlay Line to draw a line from (480, 2147483647) to (-1, -2147483648). When the Image hits IMAQ Merge Overlay, it returns an error. When Merge Overlay is not used, no error.
My initial thought was that Merge Overlay doesn't like having an overlay that's entirely outside the visible part of the image, but that's not the case, as you can see in case 3 in the attached VI.
It's also not a problem with the y values being very close to their I32 limits. Change the coordinates to (10, 2147483647) and (10, -2147483648), the line draws just fine, is visible in the image, and the error goes away.
Does anyone have any idea what's going on here?