We retrieve the timestamp of the current image via the following call:
G2GetGrabStatus(hCamera, GRAB_INFO_TIMESTAMP, camTimestamp);
As described in the manual,
camTimestamp is a double value, which might cause accuracy loss due to the conversion from the original timestamp (i.e. int64).
Is there any possibility to get the raw timestamp via the C/C++ API for the current image?
We need the value since we are using a JAI SP5000M camera where the 64bit internal time representation is constructed as follows (as described by a JAI engineer): 35 bit of the counter are LSB which represents the internal counter, 29 Bits are MSB which come from the PTP server.
We use Ubuntu 16.04.5 with CVB 12.00.002