CAPL Script

TimeNowNS

Syntax

float TimeNowNS();

int64 timeNowInt64();

Function

Supplies the current simulation time. The simulation time can be correlated with the hardware results of the interface cards (e.g. CANcardXL).The resolution of this time is dependent upon the hardware used (usually a millisecond or better). Depending on the hardware configuration, the simulation time or

Parameters

Return Values

Simulation time in nanoseconds.

—

[EnvVarTimeNS](/en/syntax/general/time/envvartimens) | [MessageTimeNS](/en/syntax/general/time/messagetimens) | [timeNowFloat](/en/syntax/general/timers/timenowfloat)