CAPL Script

TimeNowFloat

This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.

Syntax

float timeNowFloat();

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 10 microseconds.

...float x;x = timeNowFloat()/100000.0; //current time in seconds...

timeDiff | timeNow | timeNowNS | timeNowInt64