SPLat Logo

MarkTime [D>=16]

NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map

MarkTime [D>=16]

Captures the current System Timer value to the the current task's timer register. This can subsequently be used for timing calculations. A fatal error will occur if this instruction is executed outside of a task in the MultiTrack task queue. This is a companion to LoopIfTiming


SPLat 8 bit controllers (green boards) do not support the use of task timers if Multitrack multi-tasking is not running.  In addition, on these controllers you cannot use Pause, WaitOnT, WaitOffT or WaitOnKT between a MarkTime and its corresponding fSTSinceMark or LoopIfTiming.

SPLat 32 bit controllers (black boards) have none of these restrictions.  So you can use task timers on a SPLat 32 bit controller even if you are single tasking and can use any of the Pause or Wait instructions together with MarkTime and it's siblings.  There are full details on other 32 bit board enhacements.

See MultiTrack tutorial.

Dialect exclusions: Not available in dialects before 16.