Returns the current value of the virtual camera timer in nanoseconds.
[C++]
__int64 GetTimer();
Parameters [C/C++]
Return Values
Current value of the internal timer in nanoseconds.
Example
This fragment of code uses the current timer value to generate a data event containing the timestamp:
__int64 time;
time=m_pCamera->GetTimer();
SendDataEvent(0x8E94, (char*)time, 8);
Remarks
This method returns the value of the internal GigESim timer. If the timer mode is set to UNIX time, the timer value will be equal to the amount of nanoseconds elapsed since 00:00:00 January 1, 1970. Otherwise the timer value will indicate the amount of nanoseconds elapsed since the execution of the current GigESim-based application.