def METHOD_NAME():
    mask = ifm3dpy.IMG_AMP | ifm3dpy.IMG_RDIS | ifm3dpy.INTR_CAL
    cam = ifm3dpy.Camera()
    if cam.is_O3X():
        with pytest.raises(RuntimeError):
            fg = ifm3dpy.FrameGrabber(cam, mask)
    elif (cam.is_O3D() and
             cam.check_minimum_firmware_version(
                ifm3dpy.O3D_INTRINSIC_PARAM_SUPPORT_MAJOR,
                ifm3dpy.O3D_INTRINSIC_PARAM_SUPPORT_MINOR,
                ifm3dpy.O3D_INTRINSIC_PARAM_SUPPORT_PATCH)):
        fg = ifm3dpy.FrameGrabber(cam, mask)
        buff = ifm3dpy.ImageBuffer()
        assert fg.wait_for_frame(buff, 1000)
    elif (cam.is_O3D()):
        with pytest.raises(RuntimeError):
            fg = ifm3dpy.FrameGrabber(cam, mask)