ETcVnTimestamp

Offers image acquisition timestamps.

Syntax

Definition:

TYPE ETcVnTimestamp :
(
    TCVN_TS_IMAGE_COMPLETED    := 0x1,
    TCVN_TS_RECEPTION_STARTED  := 0x10,
    TCVN_TS_RECEPTION_FINISHED := 0x20,
    TCVN_TS_GETCURRENTIMAGE    := 0x100,
    TCVN_TS_CAMERA             := 0x10000,
    TCVN_TS_CUSTOM             := 0x1000000,
    TCVN_TS_LAST_CHANGE        := 0x1000000000000000
)ULINT;
END_TYPE

Values

Name

Description

TCVN_TS_IMAGE_COMPLETED

Timestamp when the image was completed, i.e. all packets were received by the GigEVision driver and combined to an image.

TCVN_TS_RECEPTION_STARTED

Timestamp when the image reception started, i.e. the GVSP leader packet was received by the GigEVision driver.

TCVN_TS_RECEPTION_FINISHED

Timestamp when the image reception finished, i.e. the GVSP trailer packet was received by the GigEVision driver.

TCVN_TS_GETCURRENTIMAGE

Timestamp when the image was retrieved in the PLC by calling one of the GetCurrentImage methods of the CameraControl FB.

TCVN_TS_CAMERA

Timestamp created by the camera and transmitted as part of the GVSP leader packet. This timestamp is camera specific and by default not synchronized with TwinCAT.

TCVN_TS_CUSTOM

Custom timestamp, that can optionally be set when creating a displayable image (nTimestamp parameter of Copy/TransformIntoDisplayableImage functions).

TCVN_TS_LAST_CHANGE

Timestamp of the last content change of the image with TwinCAT Vision functions.