Timestamp Latch - Basler acA2040-55 User Manual

Basler ace
Table of Contents

Advertisement

AW00123409000

7.16 Timestamp Latch

The Timestamp Latch feature allows you to obtain a timestamp by software command. The
timestamp can be useful for comparing the camera's internal timing with the timings of other
devices.
The timestamp is a 64 bit latched value and is based on a counter that counts the number of
"timestamp clock ticks" [ns] generated by the camera.
Note that there is an unspecified and variable delay between sending the software
command and it becoming effective, i.e. the moment when the clock tics are
actually read.
To obtain the timestamp value:
1. Execute the TimestampLatch command.
2. Retrieve the TimestampLatchValue parameter value.
You can execute the TimestampLatch command and retrieve the TimestampLatchValue parameter
value from within your application software by using the Basler pylon API. The following code
snippet illustrates the procedure using the API:
// execute a command to obtain a timestamp and retrieve the timestamp latch value
[ns]
camera.TimestampLatch.Execute();
int64_t i = camera.TimestampLatchValue.GetValue();
You can also use the Basler pylon Viewer application to easily obtain the timestamp.
For more information about the pylon Camera Software Suite and the pylon Viewer, see Section 3.1
on
page
61.
Basler ace USB 3.0
Features
313

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aca2440-35Aca2040-120Aca2440-75

Table of Contents