SysTimeGetNs (FUN)

FUNCTION SysTimeGetNs : RTS_IEC_RESULT

<SIL2/> Returns a monotonic rising nanosecond tick. This tick can be used for very high resolution time measurements NOTE: The realtime clock does not influences this tick! RETURN: Returns the runtime system error code (see CmpErrors.library)

InOut:

Scope

Name

Type

Comment

Return

SysTimeGetNs

RTS_IEC_RESULT

Inout

pUsTime

SYSTIME

Time tick result in nanoseconds