ETcVnTimestamp

Offers image acquisition timestamps.

Syntax

Definition:

enum ETcVnTimestamp : ULONGLONG
{
    TS_IMAGE_COMPLETED    = 0x1,
    TS_RECEPTION_STARTED  = 0x10,
    TS_RECEPTION_FINISHED = 0x20,
    TS_GETCURRENTIMAGE    = 0x100,
    TS_CAMERA             = 0x10000,
    TS_CUSTOM             = 0x1000000,
    TS_LAST_CHANGE        = 0x1000000000000000
};

Values

Name

Description

TS_IMAGE_COMPLETED

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

TS_RECEPTION_STARTED

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

TS_RECEPTION_FINISHED

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

TS_GETCURRENTIMAGE

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

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.

TS_CUSTOM

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

TS_LAST_CHANGE

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