Frequently Asked Question

How to get timestamp info for a captured frame?
Last Updated 4 months ago

  1. KAYA API provides a method to retrieve the last timestamp value for a particular buffer captured by the Frame Grabber. The timestamp is in units of nanoseconds, and it represents the time relative to Frame Grabber’s internal timestamp counter.
  2. The buffer timestamp is registered when the frame start is captured in the frame grabber; it is valid after the buffer is completely filled up until the time when the same buffer is filled with a newly captured frame.
  3. KYFG_BufferGetInfo() function, with “KY_STREAM_BUFFER_INFO_TIMESTAMP” command can be used to get the timestamp value for the selected buffer, identified by its handle.

It is advised to retrieve the timestamp in the stream callback before returning the buffer back to the queue.

e.g

uint64_t timestamp = 0;

KYFG_BufferGetInfo(streamBufferHandle, KY_STREAM_BUFFER_INFO_TIMESTAMP, ×tamp, NULL, NULL);



Notes:
1) All versions of the second generation support the timestamp;

2) FW Versions of the first generation that support the timestamp:

Komodo CLHS – 4.22.16(QSFP ver),4.23.16(SFP ver).

Komodo Fiber CXP – 4.9.6

Komodo CXP – 4.11.49

Komodo GigE – 4.6.15

Predator – 4.7.19

Komodo 4R4T – 4.5

Please Wait!

Please wait... it will take a second!