SysTimerGetTimeStamp
(FUN)
FUNCTION SysTimerGetTimeStamp : RTS_IEC_RESULT
<description>This function returns the timestamp in ticks since timer start</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTimerGetTimeStamp
RTS_IEC_RESULT
Input
hTimer
RTS_IEC_HANDLE
<param name=”hTimer” type=”IN”>Handle of the timer</param>
ptTimestampNs
POINTER TO SYSTIME
<param name=”ptTimestampNs” type=”out”>Timestamp in nanoseconds</param>