CopyIntoDisplayableImage

Copys an image into a displayable image and sets a custom timestamp that can afterwards be read via ITcVnImageTimestamps. If you do not want to use ipSrcImage after this function call, you might want to use F_VN_TransformIntoDisplayableImage instead for better performance.

Syntax

Definition:

HRESULT CopyIntoDisplayableImage(
    HRESULT                 hrPrev,
    ITcVnImage*             ipSrcImage,
    ITcVnDisplayableImage*& ipDestImage,
    LONGLONG                nTimestamp = 0
)

Parameters

Name

Type

Default

Description

hrPrev

HRESULT

HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.)

ipSrcImage

ITcVnImage*

Source image

ipDestImage

ITcVnDisplayableImage*&

Returns the displayable image

nTimestamp

LONGLONG

0

Custom timestamp that is added to the image info

CopyIntoDisplayableImage 1: Return value

HRESULT

Required License

TC3 Vision Base

System Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT V3.1.4024.59 or later

PC or CX (x64) with min. PL50, e.g. Intel 4-core Atom CPU

Tc3_Vision