GetCurrentImageWithTimestamps

GetCurrentImageWithTimestamps 1:

Gets the current available image (first in receive queue) and corresponding timestamps.

Syntax

Definition:

METHOD GetCurrentImageWithTimestamps : HRESULT
VAR_INPUT
    ipImage     : Reference To ITcVnImage;
    nTimestamps : ULINT;
    pTimestamps : Pointer To LINT;
END_VAR
VAR_OUTPUT
    stGvspInfo  : GVSP_IMAGE_INFO;
END_VAR

GetCurrentImageWithTimestamps 2: Inputs

Name

Type

Description

ipImage

Reference To ITcVnImage

Returns the image

nTimestamps

ULINT

Select timestamps to return (ETcVnTimestamp)

pTimestamps

Pointer To LINT

Returns the requested timestamps (make sure to provide an array of sufficient size).

GetCurrentImageWithTimestamps 3: Outputs

Name

Type

Description

stGvspInfo

GVSP_IMAGE_INFO

Returns the GVSP info

GetCurrentImageWithTimestamps 4: Return value

HRESULT