TcTimerGetTickTime
The TcTimerGetTickTime function returns the ticking time of the TwinCAT Timer.
DWORD TcTimerGetTickTime();
Parameters
None
Return Values
Tick time of the TwinCAT Timer in units of 100 nanoseconds. (i.e. 500µs Base tick returns 5000)
Remarks
The TcTimer Ticks are always configured by the "TwinCAT System Service". This can be done by configuring the "Base Ticks" in the Real Time Settings from the "TwinCAT System Manager" and activating the configuration on the Target System.
QuickInfo
For Windows CE:
- Windows CE Version: Requires version 4.2 or later.
- CE Image Version: Requires version 1.90 or later.
- Header: Declared in TcTimerAPI.h
- Import Library: Use TcTimerWrap.lib