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
SysTimerGetTimeStampRTS_IEC_RESULTInput
hTimerRTS_IEC_HANDLE<param name=”hTimer” type=”IN”>Handle of the timer</param>
ptTimestampNsPOINTER TO SYSTIME
<param name=”ptTimestampNs” type=”out”>Timestamp in nanoseconds</param>