ReadFrame Method

NI Vision for Visual Basic

ReadFrame Method

Syntax

CWIMAQAVISession.ReadFrame DestImage, FrameNumber [, Data]

Purpose

Reads a frame from the currently open AVI.

Remarks

You can call this method only on a session opened for read.

Parameters

DestImage As CWIMAQImage

The image into which the method stores the frame of the AVI.

FrameNumber As Long

Frame number to read. The frame number is one-based.

Data As Variant

[Optional] The data attached to this frame, if any. This is a CWIMAQData object.