UNPKG

@kvaser/canking-api

Version:

CanKing API to communicate with the CanKing service using Node.js.

19 lines (10 loc) 633 B
[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md) *** [Kvaser CanKing GUI Extensions SDK](../../modules.md) / [ipc](../README.md) / getFirstAndLatestTimestamp # Function: getFirstAndLatestTimestamp() > **getFirstAndLatestTimestamp**(): `Promise`\<\{ `firstTimestamp`: `number`; `latestTimestamp`: `number`; \}\> Gets timestamps of the first and latest frames in the current measurement. ## Returns `Promise`\<\{ `firstTimestamp`: `number`; `latestTimestamp`: `number`; \}\> A promise that resolves with an object containing the first and latest timestamps (in microseconds since start of measurement).