Warnings

NI IMAQ

Warnings

Warnings are different from errors in the following respects:

  • They have a positive Status Code.
  • They do not generate exceptions, even if ExceptionOnError is True.
  • They generate an IMAQWarning event instead of an IMAQError event.

You can handle warnings by checking the return value of the methods or by providing an IMAQWarning event handler.