OpenLvVision_OpenCv.lvlib:VideoCapture.lvclass:VideoCapture Read.vi

Grabs, decodes and returns the next video frame.

The method/function combines VideoCapture::grab() and VideoCapture::retrieve() in one call. This is the most convenient method for reading video files or capturing data from decode and returns the just grabbed frame. If no frames has been grabbed (camera has been disconnected, or there are no more frames in video file), the method returns false and the function returns empty image (with cv::Mat, test it with Mat::empty())..

For detailed information, please refer to the OpenCV documentation

OpenLvVision_OpenCv.lvlib:VideoCapture.lvclass:VideoCapture Read.vi

cerrcodeclst

error in (no error)

The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    cbool

    status

    The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    ci32

    code

    The code input identifies the error or warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    cstr

    source

    The source string describes the origin of the error or warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

cOpenLvVision__OpenCv_lvlib_VideoCapturelvclass

VideoCapture in

cudtagrefflat

Image

image the video frame is returned here. If no frames has been grabbed the image will be empty.

ierrcodeclst

error out

The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    ibool

    status

    The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    ii32

    code

    The code input identifies the error or warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

    istr

    source

    The source string describes the origin of the error or warning.

    The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

iOpenLvVision__OpenCv_lvlib_VideoCapturelvclass

VideoCapture out

iudtagrefflat

Image out

image the video frame is returned here. If no frames has been grabbed the image will be empty.

ibool

Success

true if the file has been successfully opened